@buri-ui/markdown-loader

1.1.2 • Public • Published

buri-markdown-loader

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

Install

NPM

npm i @buri-ui/markdown-loader -S

YARN

yarn add @buri-ui/markdown-loader

Options

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

  • 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 @buri-ui/markdown-loader

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

4.35 kB

Total Files

6

Last publish

Collaborators

  • flykizz