mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-11-05 21:22:09 +08:00
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: ansi-regex dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
vant-markdown-loader
Simple and fast vue markdown loader, transform markdown to vue component.
Install
NPM
npm i @vant/markdown-loader -S
YARN
yarn add @vant/markdown-loader
Options
-
enableMetaData: Defaultfalse. Whether to use front-matter to extract markdown meta data -
linkOpen: Defaulttrue. Whether to add target="_blank" to all links -
wrapper(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