docs: add target blank for all links (#5073)

This commit is contained in:
neverland
2019-11-21 17:58:01 +08:00
committed by GitHub
parent 3bcb4e7716
commit 4e5bc170e1
7 changed files with 177 additions and 120 deletions
+2 -1
View File
@@ -20,10 +20,11 @@ yarn add @vant/markdown-loader
- `enableMetaData`: Default `false`. Whether to use [front-matter](https://github.com/jxson/front-matter) to extract markdown meta data
- `linkOpen`: Default `true`. Whether to add target="_blank" to all links
- `wrapper(html, fm)`: Format the returned content using a custom function
- `html`: The result of [markdown-it](https://github.com/markdown-it/markdown-it)'s render
- `fm`: See [fm(string)](https://github.com/jxson/front-matter#fmstring). If `enableMetaData` option is `false`, the value is `undefined`.
- `attributes`
- `body`
- `frontmatter`