Notebook viewer

Read-only Jupyter notebook with Markdown, code and rich cell outputs.

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

lr-notebook-viewer

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

Optional dependency: marked, dompurify, shiki

Read di guide (for English)

Components wey relate

  • Page rail — Virtual vertical row of thumbnails to move through document pages.
  • PDF viewer — E fetch and show PDF pages with zoom, page controls and selectable text.
  • PPTX viewer — Browser-side best-effort view for PowerPoint PPTX slides.
  • Spreadsheet viewer — E fetch .xlsx or old .xls workbook with sheet tabs and virtual rows.
  • SVG viewer — E fetch SVG from URL and render safe inline document.
  • XML viewer — Tree view for inspecting XML, with branches wey collapse and content wey fit copy.