Notebook viewer

Read-only Jupyter notebook renderer composing markdown, code, and rich cell outputs.

PDF, spreadsheet, document, and archive viewers with compare and highlight support.

lr-notebook-viewer

import '@aceshooting/lyra-ui/components/lr-notebook-viewer.js';

Optional dependency: marked, dompurify, shiki

Read guide (English)

Related components

  • Page rail — Virtualized vertical thumbnail rail for paging through a page-addressed document.
  • PDF viewer — Fetches and renders PDF pages with zoom, pagination, and a selectable text layer
  • PPTX viewer — Best-effort client-side viewer for PowerPoint PPTX presentations.
  • Spreadsheet viewer — Fetches and renders .xlsx and legacy .xls workbooks with sheet tabs and virtualized rows.
  • SVG viewer — Fetches and safely renders an inline, sanitized SVG document from a URL.
  • XML viewer — Collapsible, copyable tree view for inspecting XML documents.