npm.io
0.0.2 • Published 4 years ago

@unified-myst/render-html

Licence
MIT
Version
0.0.2
Deps
3
Size
8 kB
Vulns
0
Weekly
0
Stars
6

@unified-myst/render-html

Extends @unified-myst/core-parse, to output HTML (via conversion to HAST).

import { ProcessorHtml } from '@unified-myst/render-html'

const processor = new ProcessorHtml()

console.log(processor.toHtml('Hallo world!'))
// => '<p>Hallo world!</p>'

Keywords