myst-to-html
TypeScript icon, indicating that this package has built-in type declarations

1.4.2 • Public • Published

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>'

Readme

Keywords

Package Sidebar

Install

npm i myst-to-html

Weekly Downloads

443

Version

1.4.2

License

MIT

Unpacked Size

67.4 kB

Total Files

34

Last publish

Collaborators

  • rowanc1
  • stevejpurves
  • ebp-bot