@md-parser/html-renderer
v0.1.0
Published
HTML renderer for parsed markdown
Downloads
2
Keywords
Readme
markdown-parser
Install
yarn add @md-parser/html-renderer
Usage
import { renderHTML } from '@md-parser/html-renderer';
const html = renderHTML('# Hello World');
Presets
import { parseMarkdown, GFM } from '@saartje87/md-ast';
const ast = renderHTML('# Hello World', {
presets: [GFM()],
});
See @md-parser/parser for more options options.