@mryx/markdown-loader

3.0.0 • Public • Published

mryx-markdown-loader

Simple and fast vue markdown loader, transform markdown to vue component.

Install

NPM

npm i @mryx/markdown-loader -S

YARN

yarn add @mryx/markdown-loader

Options

  • enableMetaData: Default false. Whether to use front-matter to extract markdown meta data

  • linkOpen: Default true. Whether to add target="_blank" to all links

  • wrapper(html, fm): Format the returned content using a custom function

    • html: The result of markdown-it's render
    • fm: See fm(string). If enableMetaData option is false, the value is undefined.
      • attributes
      • body
      • frontmatter

Readme

Keywords

none

Package Sidebar

Install

npm i @mryx/markdown-loader

Weekly Downloads

5

Version

3.0.0

License

MIT

Unpacked Size

4.01 kB

Total Files

6

Last publish

Collaborators

  • mryx