mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.3.1 to 10.4.1. - [Release notes](https://github.com/highlightjs/highlight.js/releases) - [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md) - [Commits](https://github.com/highlightjs/highlight.js/compare/10.3.1...10.4.1) 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