Skip to content

v0.5.0

Choose a tag to compare

@chizkidd chizkidd released this 17 Oct 23:08
· 140 commits to main since this release
70ab8ba

Export a notebook as a script, Markdown, HTML or PDF, and nbviewer's gist and URL links now work too.

Added

  • Export menu on every notebook:
    • Python script (.py), for Python notebooks. IPython magics and shell commands become comments.
    • Markdown (.md), with code fences, text outputs and images.
    • HTML page (.html): one self-contained file with a strict Content-Security-Policy, so it carries no scripts.
    • Print / Save as PDF.
      Everything is built in your browser. Nothing is uploaded.
  • Line numbers and Wrap lines toggles for code cells, remembered in your browser.
  • Print styles: no header or buttons, wrapped code, light colors.
  • nbviewer /gist/..., /url/... and /urls/... links now work by swapping nbviewer.org for nbview.org, not just /github/.... You can also paste them into the box.
  • sitemap.xml, linked from robots.txt.
  • A note that nbview is independent and not affiliated with Project Jupyter or nbviewer.

Changed

  • The notebook title has its own row above the toolbar, so the longer button row can't squeeze it.
  • Math fonts can be loaded from other origins, so saved HTML exports keep their equations.
  • README: the folder tree is annotated in place, with upkeep notes in a Maintenance section.

Full changelog: https://github.com/chizkidd/nbview/blob/main/CHANGELOG.md