Repository navigation
Improves accessibility, adds notebook search and saved widget rendering, introduces privacy-preserving link previews, and speeds up initial page loading.
Accessibility
- Skip link. The first Tab stop on every page is now "Skip to content", which moves keyboard focus to the main content without touching the address.
- Focus no longer gets lost when a view changes (opening a notebook, going back, switching to Compare): it moves to the main region instead of dropping to the top of the page.
Added
- Find in notebook. A Find button (or press
/) opens a search bar that highlights every match in code, text and outputs, shows "3 of 12", and steps through matches with Enter, Shift+Enter or the arrow buttons. Unlike the browser's find, it works on cells scrolled far off screen in large notebooks, and it skips code or outputs you have hidden. Matching ignores case and treats what you type literally. Escape closes it. Browsers without the highlight feature outline the cell instead. llms.txtdescribing the site, how to build links to notebooks, and where an automated reader should get notebook contents (raw files on GitHub), for AI agents and tools that look for it.- Saved widgets are shown. ipywidgets outputs (tqdm progress bars, sliders, dropdowns, labels, HTML, and the boxes holding them) now appear read-only from the widget state saved in the notebook, instead of a bare text description. Passwords are never shown, and widgets with no saved state keep their text fallback or a short note.
- Link previews. Links like
nbview.org/github/owner/repo/blob/main/notebook.ipynbnow show a card with the notebook's file name and repo when pasted into Slack, Reddit, X, Discord and similar. The card is built from the address only: the server never fetches or reads the notebook. "Copy link" and the cell#button copy this form for GitHub notebooks. People opening the link are redirected to the viewer as before.
Changed
- Faster first load. The page's scripts no longer block it from showing, and syntax highlighting and math (about 120 KB) load when a notebook opens instead of with the home page. On a throttled phone profile the home page shows its content in about 0.6 s instead of 1.2 s; opening a notebook takes the same time as before.
Full Changelog: v0.10.0...v0.11.0