Skip to content

Commit

Permalink
docs: vitepress笔记新增推荐插件内容
Browse files Browse the repository at this point in the history
  • Loading branch information
simply-none committed Mar 31, 2024
1 parent 9ee2ecb commit fcfb114
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/usage-work-tool/其他工具/usage-vitepress.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@

::: code-group

```text [提示]
```bash [提示]
# ::: [info | tip | warning | danger | details] 标题名
info box
# :::
```

```text [块折叠]
```bash [块折叠]
# ::: details 标题名
内部可以展示任何markdown语法
# :::
```

```text [块折叠]
```bash [块折叠]
# ::: code-group

#```js [标题名]
Expand Down Expand Up @@ -47,5 +47,9 @@ info box

**引入组件**

先通过`script`标签import导入组件,然后直接使用该组件即可,和vue一样

先通过`script`标签import导入组件,然后直接使用该组件即可,和vue一样
## vitepress插件

- @nolebase/vitepress-plugin-enhanced-readabilities:阅读增强,可自由切换布局
- @nolebase/vitepress-plugin-highlight-targeted-heading:闪烁高亮当前的目标标题

0 comments on commit fcfb114

Please sign in to comment.