vue-markdown-render
所属分类:代码编辑器
开发工具:Vue
文件大小:0KB
下载次数:0
上传日期:2023-08-04 11:13:34
上 传 者:
sh-1993
说明: 使用markdown it的Vue的简单标记分析器。,
(A simple markdown parser for Vue using markdown-it.,)
文件列表:
LICENSE.md (1068, 2023-10-12)
dist/ (0, 2023-10-12)
dist/VueMarkdown.d.ts (143, 2023-10-12)
dist/VueMarkdown.js (1007, 2023-10-12)
dist/VueMarkdown.js.map (1003, 2023-10-12)
example/ (0, 2023-10-12)
example/index.html (337, 2023-10-12)
example/package.json (346, 2023-10-12)
example/pnpm-lock.yaml (19205, 2023-10-12)
example/public/ (0, 2023-10-12)
example/public/favicon.ico (4286, 2023-10-12)
example/src/ (0, 2023-10-12)
example/src/App.vue (834, 2023-10-12)
example/src/assets/ (0, 2023-10-12)
example/src/assets/logo.png (6849, 2023-10-12)
example/src/components/ (0, 2023-10-12)
example/src/components/HelloWorld.vue (965, 2023-10-12)
example/src/env.d.ts (276, 2023-10-12)
example/src/main.ts (90, 2023-10-12)
example/tsconfig.json (382, 2023-10-12)
example/vite.config.ts (156, 2023-10-12)
package.json (712, 2023-10-12)
pnpm-lock.yaml (8411, 2023-10-12)
src/ (0, 2023-10-12)
src/VueMarkdown.ts (886, 2023-10-12)
tsconfig.json (543, 2023-10-12)
# vue-markdown-render
`vue-markdown-render` is a simple and lightweight wrapper for [markdown-it](https://markdown-it.github.io/) with full TypeScript support.
## Usage
```vue
```
### Options
[markdown-it options](https://github.com/markdown-it/markdown-it#init-with-presets-and-options) can be passed as an object into the VueMarkdown component:
```vue
```
### Plugins
[markdown-it](https://github.com/markdown-it/markdown-it#plugins-load) compatible simple plugins can be passed as an array into the VueMarkdown component. Example using [MarkdownItAnchor](https://www.npmjs.com/package/markdown-it-anchor)
```vue
```
## TypeScript
If you are using typescript, you have to add the [@types/markdown-it](https://www.npmjs.com/package/@types/markdown-it) to your **dev dependencies**.
```bash
npm install @types/markdown-it --save-dev
```
近期下载者:
相关文件:
收藏者: