remark-md2html-starter
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i remark-md2html-starter

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

4.66 kB

Total Files

4

Last publish

Collaborators

  • xiaoliu-heng