@xmsbl/quilldown-render
v0.4.0
Published
The single Markdown-to-HTML pipeline (marked GFM + Prism + heading ids + line anchors).
Maintainers
Readme
@xmsbl/quilldown-render
The single Markdown → HTML pipeline behind Quilldown: marked (GFM) + Prism highlighting, heading ids, line anchors, and an allow-list sanitizer.
import { renderHtml } from "@xmsbl/quilldown-render";
renderHtml("# hello\n\n**bold**");
// → <h1 id="hello">hello</h1>\n<p><strong>bold</strong></p>\n<script>:dist/index.iife.jsexposeswindow.QuilldownRender— load it before the editor bundles.- Typography:
@xmsbl/quilldown-render/content.css.
Hosts usually install an editor package instead — @xmsbl/quilldown-split / @xmsbl/quilldown-wysiwyg already include this. See the root README.
