1.0.1 • Published 4 years ago

vora-markdown-loader v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

vora-markdown-loader

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

Install

NPM

npm i vora-markdown-loader -S

YARN

yarn add vora-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