Repository navigation
v0.8.0
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.ipynbURL. 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