Skip to content

A better ipynb->html template #89

@BoPeng

Description

@BoPeng
sos convert my.ipynb my.html

is essentially calling

jupyter nbconvert

with a default template that

  1. Use pygments to generate static syntax hilighting. It serves its purpose but does not show language-specific highlighting or interpolated texts (effect of expand=True). It does not show language selector box either.

  2. No TOC, which seems to be useful to have in most cases.

Given that we already have templates for our online documentation that uses codemirror and has a toc, perhaps we should provide a better default template....

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions