mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
docs: update docs
This commit is contained in:
parent
79af255cd8
commit
dcecbfdd8d
@ -175,13 +175,15 @@ blog:
|
||||
---
|
||||
|
||||
:::important
|
||||
你可以随时通过 [PR](https://github.com/pengzhanbo/vuepress-theme-plume/edit/main/docs/demos.md) 添加你的 文档 或 博客 到这个页面。
|
||||
你可以随时通过 ==PR== 添加你的 文档 或 博客 到这个页面。
|
||||
|
||||
站点预览图片请放到 `docs/.vuepress/public/images/demos` 目录下。推荐使用远程链接,以便可以随时更新它。
|
||||
|
||||
图片请尽量使用 `.jpg` 格式,体积较大的请使用 [tinypng](https://tinypng.com/) 进行压缩。
|
||||
:::
|
||||
|
||||
[前往 **Github Pull Request** 提交站点](https://github.com/pengzhanbo/vuepress-theme-plume/edit/main/docs/demos.md){.read-more}
|
||||
|
||||
## 文档
|
||||
|
||||
<Demos :list="$frontmatter.docs" />
|
||||
|
||||
@ -354,7 +354,7 @@ type FontAwesomePrefix =
|
||||
|
||||
[在 **Fontawesome** 中,图标通过 families + styles 控制样式,**查看详情**](https://docs.fontawesome.com/web/add-icons/how-to#setting-different-families--styles){.read-more}
|
||||
|
||||
为便于管理,可以通过 `::prefix:name` 语法,通过前缀设置 families + styles,默认前缀为 `fas`,可以省略它:
|
||||
为便于管理,可以通过 `::prefix:name::` 语法,通过前缀设置 families + styles,默认前缀为 `fas`,可以省略它:
|
||||
|
||||
```md
|
||||
::name:: <!-- prefix = fas -->
|
||||
@ -379,7 +379,7 @@ Fontawesome 的免费图标仅支持 `solid` 、部分 `regular` 以及 `brands`
|
||||
|
||||

|
||||
|
||||
- 在 Markdown 中使用 `::prefix:name` 语法插入图标:
|
||||
- 在 Markdown 中使用 `::prefix:name::` 语法插入图标:
|
||||
|
||||
```md
|
||||
::circle-user:: <!-- prefix = fas -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user