@zf-ui/markdown-loader
v1.1.0-alpha.0
Published
Simple and fast vue markdown loader
Downloads
2
Readme
zfc-markdown-loader
Simple and fast vue markdown loader, transform markdown to vue component.
Install
NPM
npm i @zfc/markdown-loader -S
YARN
yarn add @zfc/markdown-loader
Options
enableMetaData
: Defaultfalse
. Whether to use front-matter to extract markdown meta datalinkOpen
: Defaulttrue
. Whether to add target="_blank" to all linkswrapper(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