myst-to-html
v1.5.9
Published
Export from MyST mdast to HTML
Downloads
1,220
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>'