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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    1
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

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