pagoda-markdown-loader
v0.1.0
Published
Simple and fast vue markdown loader
Downloads
7
Readme
pagoda-markdown-loader
Simple and fast vue markdown loader, transform markdown to vue component.
Install
NPM
npm i pagoda-markdown-loader -S
YARN
yarn add pagoda-markdown-loader
Options
copy
: Whether it can be copied. Default['javascript', 'js', 'html']
will be copy.- type
- boolean whether copy by default
- string only type copy
- array multiple types copy
- type
enableMetaData
: Defaultfalse
. Whether to use front-matter to extract markdown meta datawrapper(html, fm)
: Format the returned content using a custom functionhtml
: The result of markdown-it's renderfm
: See fm(string). IfenableMetaData
option isfalse
, the value isundefined
.attributes
body
frontmatter
inspiration
inspiration from Vant-markdown-loader