no message

Former-commit-id: b94bf1e3e3cba10be166f2ec381224e19e2b6aed
Former-commit-id: 6ea5bf9eca782bb1de02375d965be1120829d2c9
Former-commit-id: 0094e36fbc04bc8bf80eda85f573470dd55cd64d
This commit is contained in:
李杨
2018-02-24 20:26:55 +08:00
parent 90402ecb2d
commit 7a3963983e
5 changed files with 32 additions and 2 deletions

View File

@@ -1,5 +1,10 @@
<template>
<Container>
<markdown url="/static/markdownFiles/article/组件 - markdown.md"></markdown>
<PageHeader
slot="header"
title="效果演示"
url="https://github.com/FairyEver/d2admin-vue-element/blob/master/src/components/core/Markdown/index.vue">
</PageHeader>
<markdown url="/static/markdownFiles/article/组件 - markdown - 演示.md"></markdown>
</Container>
</template>

View File

@@ -0,0 +1,9 @@
<template>
<Container>
<PageHeader
slot="header"
title="文档">
</PageHeader>
<markdown url="/static/markdownFiles/article/组件 - markdown - 文档.md"></markdown>
</Container>
</template>

View File

@@ -91,7 +91,7 @@ export const menu = {
icon: 'font',
children: [
{
title: '基本示例',
title: '效果演示',
icon: 'file-o',
path: 'marked/demo',
name: 'demo-components-markdown-demo',

View File

@@ -0,0 +1,16 @@
## 参数
| 参数名 | 介绍 | 必选 | 值类型 | 可选值 | 默认值 |
| --- | --- | --- | --- | --- | --- |
| url | markdown文件地址 | 非 | String | | 无 |
| md | markdown内容 | 非 | String | | 无 |
| highlight | 代码高亮 | 非 | Boolean | | false |
| baidupan | 百度网盘分享链接显示优化 | 非 | Boolean | | true |
## 使用方法
加载一个.md文件
```
<markdown url="/static/markdownFiles/article/组件 - markdown - 演示.md"></markdown>
```