remark-md2html-starter
v0.0.4
Published
Combine several commonly used plugins for compile markdown to html.
Downloads
1
Maintainers
Readme
remark-md2html-starter
Combine several commonly used plugins for compile markdown to html.
Usage
import remarkStarter from "remark-md2html-starter";
const processor = remarkStarter();
const result = await processor.process(`# H1`);
// more options
processor = remarkStarter({
allowHtml: true, // support embedded html
math: true, // support math
remarkPlugins: [...],
rehypePlugins: [...],
});