Skip to content

v0.8.0

Choose a tag to compare

@chizkidd chizkidd released this 29 Oct 01:58
· 114 commits to main since this release
1738baf

Compare any two notebooks, and diffs that read like GitHub's.

Added

  • Compare two different notebooks. The Compare page has a new Two links tab. Paste, for each side, a GitHub notebook link, a raw link, owner/repo/path/to/notebook.ipynb (uses the default branch), or any direct .ipynb URL. The two notebooks can be in the same repo or in different repos. On a GitHub notebook, the Compare dialog also accepts "a different notebook". Compare links can be shared: nbview.org/#/compare/links/<first>/<second>. Gist links are not supported in Compare yet.
  • Swap sides (for two notebooks) and Swap versions (for two versions of one notebook) buttons.

Changed

  • Compare diffs look like GitHub's: long lines wrap instead of scrolling one by one, each line shows its old and new line number, and the side-by-side view uses the full width of the page.
  • Compare always opens in the unified (one column) view, on any screen size. The toolbar reads Unified, then Side by side, and a side-by-side choice is still remembered.

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