orz-mdhtml-browser
v0.9.0
Published
Prebuilt in-browser renderer for orz-mdhtml .md.html files (exposes window.orzmd.render). Served via CDN (jsDelivr).
Maintainers
Readme
orz-mdhtml-browser
Prebuilt in-browser renderer for orz-mdhtml
.md.html files. It bundles orz-markdown
for the browser and exposes window.orzmd.render(markdown).
This package exists to be served over a CDN. Generated .md.html files in
--cdn mode reference it from jsDelivr, so the renderer is fetched from the web
on first open and browser-cached:
<script src="https://cdn.jsdelivr.net/npm/orz-mdhtml-browser@<version>/orzmd.browser.js"></script>It is produced from orz-mdhtml's build/bundle.ts and versioned in lockstep
with orz-mdhtml. You normally don't depend on it directly — generate files
with the orz-mdhtml CLI.
License
MIT
