orz-paged-browser
v0.7.0
Published
Prebuilt in-browser paged-document engine for orz-paged .paged.html files (paged.js + orz-markdown + the orz-paged document layer/assembler)
Downloads
1,120
Readme
orz-paged-browser
Prebuilt, single-file in-browser paged-document engine for
orz-paged .paged.html files.
It is esbuild(paged.js + orz-markdown + the orz-paged document layer / assembler)
as one IIFE that exposes window.orzpaged. Each generated .paged.html either
inlines this bundle (--inline, the default) or loads it from jsDelivr (--cdn).
The engine reads the embedded Markdown from <script id="orz-src">, assembles it
(settings → elements → page CSS), renders async content (math/diagrams) and waits
for fonts, then paginates with paged.js into .pagedjs_page boxes. PDF export is
the browser's own print.
Versioned in lockstep with orz-paged. Generated by npm run bundle; not
edited by hand.
