
一些基础的 Markdown 语法实例,以及 reco 主题中的扩展语法实例
输入
::: demo [vanilla]
```html
<html>
<body id="demo0">hello</body>
</html>
<script>
</script>
<style>
#demo0 {
}
</style>
```
:::
输出
<html>
<body>
<div class="demo0">
</div>
</body>
</html>
<script>
</script>
<style>
.demo0 {
}
</style>
输入
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |输出
Tables | Are | Cool |
|---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
输入
:tada: :100:
输出
🎉 💯
可以在这个列表 (opens new window)找到所有可用的 Emoji。
输入
::: tip
这是一个提示
:::
::: warning
这是一个警告
:::
::: danger
这是一个危险警告
:::
::: details
这是一个详情块,在 IE / Edge 中不生效
:::
输出
这是一个提示
这是一个警告
这是一个危险警告
See More
这是一个详情块,在 IE / Edge 中不生效
你也可以自定义块中的标题:
::: danger STOP
危险区域,禁止通行
:::
::: details 点击查看代码
```js
console.log('你好,VuePress!')
```
:::
STOP
危险区域,禁止通行
点击查看代码
console.log('你好,VuePress!')# 思维导图 markmap
docs/.vuepress/public/markmap/<iframe> 插入到 Markdown<iframe :src="$withBase('/markmap/markmap.html')" width="100%" height="400" frameborder="0" scrolling="No" leftmargin="0" topmargin="0"></iframe>
Mermaid Live Editor (opens new window)
