0.0.1 • Published 5 years ago
pagoda-markdown-loader-v2 v0.0.1
pagoda-markdown-loader
Simple and fast vue markdown loader, transform markdown to vue component.
Install
NPM
npm i pagoda-markdown-loader -SYARN
yarn add pagoda-markdown-loaderOptions
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 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). IfenableMetaDataoption isfalse, the value isundefined.attributesbodyfrontmatter
inspiration
inspiration from Vant-markdown-loader
0.0.1
5 years ago