0.0.4 • Published 2 years ago

remark-md2html-starter v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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: [...],
  });