
Markdown 使用方法
more 注释之前的内容被视为文章摘要。
vuepress详见:"https://theme-hope.vuejs.press/zh/",
icon相关:"https://fontawesome.com/search?f=classic&s=thin&o=r"
Markdown 介绍
如果你是一个新手,还不会编写 Markdown,请先阅读 Markdown 介绍 和 Markdown 演示。
Markdown 配置
VuePress 通过 Frontmatter 为每个 Markdown 页面引入配置。
Frontmatter
Frontmatter 是 VuePress 中很重要的一个概念,请阅读 Frontmatter 介绍 了解详情。
Markdown 扩展
VuePress 会使用 markdown-it 来解析 Markdown 内容,因此可以借助于 markdown-it 插件来实现 语法扩展 。
VuePress 扩展
为了丰富文档写作,VuePress 对 Markdown 语法进行了扩展。
关于这些扩展,请阅读 VuePress 中的 Markdown 扩展。
主题扩展
通过 VuePress 插件,主题扩展了更多 Markdown 语法,提供更加丰富的写作功能。
选项卡
Apple
Banana
Orange
脚注
此文字有脚注[1].
导入文件
TeX 语法
$$
\frac {\partial^r} {\partial \omega^r} \left(\frac {y^{\omega}} {\omega}\right)
= \left(\frac {y^{\omega}} {\omega}\right) \left{(\log y)^r + \sum_{i=1}^r \frac {(-1)^i r \cdots (r-i+1) (\log y)^{r-i}} {\omega^i} \right}
$$
任务列表
图片增强
支持为图片设置颜色模式和大小。
上下角标
19th H2O
组件
提示容器
安全的在 Markdown 中使用 {{ variable }}。
自定义标题
提示容器
自定义标题
警告容器
自定义标题
危险容器
自定义标题
详情容器
自定义对齐
我是居中的
我在右对齐
属性支持
一个拥有 ID 的 单词。
标记
你可以标记 重要的内容 。
剧透
VuePress Theme Hope 十分强大.
样式化
向 Mr.Hope 捐赠一杯咖啡。 Recommended
PlantUML
代码块
pnpm add -D vuepress-theme-hopeyarn add -D vuepress-theme-hopenpm i -D vuepress-theme-hope代码演示
a组件
每个 Markdown 页面都会被转换为一个 Vue 组件,这意味着你可以在 Markdown 中使用 Vue 语法:
2
- 1
- 2
- 3
你也可以创建并引入你自己的组件。
输入:
输出: Hello world!
主题包含一些有用的组件。这里是一些例子:
文字结尾应该有深蓝色的 徽章文字 徽章。 徽章文字
一个卡片:
Mr.HopeWhere there is light, there is hope
这是脚注内容 ↩︎
