remove example

This commit is contained in:
mei 2025-01-01 21:32:47 +08:00
parent bc9c1f321b
commit 61440b7080

View File

@ -1,88 +0,0 @@
# Markdown 扩展示例
本页演示了 VitePress 提供的一些内置 markdown 扩展。
## 语法高亮
VitePress 提供由 [Shiki]https://github.com/shikijs/shiki 提供支持的语法高亮,以及行高亮等附加功能:
**Input**
````md
```js{4}
export default {
data () {
return {
msg: 'Highlighted!'
}
}
}
```
````
**Output**
```js{4}
export default {
data () {
return {
msg: 'Highlighted!'
}
}
}
```
### 自定义容器
**Input**
```md
::: info
This is an info box.
:::
::: tip
This is a tip.
:::
::: warning
This is a warning.
:::
::: danger
This is a dangerous warning.
:::
::: details
This is a details block.
:::
```
**Output**
::: info
This is an info box.
:::
::: tip
This is a tip.
:::
::: warning
This is a warning.
:::
::: danger
This is a dangerous warning.
:::
::: details
This is a details block.
:::
> [!IMPORTANT]
> VitePress 同样支持以标注的方式渲染 GitHub 风格的警报。它们和自定义容器的渲染方式相同。
## More
Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).