myst-to-html
v1.5.5
Published
Export from MyST mdast to HTML
Downloads
1,555
Readme
myst-to-html
Convert a MyST AST to HTML.
import { u } from 'unist-builder';
import { mystToHtml } from 'myst-to-html';
const html = mystToHtml(u('root', [u('paragraph', [u('text', 'hello world')])]));
// '<p>hello world</p>'