feat: add colors-named.md.

This commit is contained in:
jaywcjlove
2022-10-18 01:07:41 +08:00
parent d6a7ca3d7f
commit 6e10f42d0d
4 changed files with 1490 additions and 44 deletions

View File

@ -215,6 +215,20 @@ const school = <div>学校</div>;
<!--rehype:className=shortcuts-->
### 隐藏卡片标题
<!--rehype:style=display:none;&wrap-style=padding-top: 0;-->
```
隐藏卡片标题,在 H3 标题下面添加注释样式
```
```markdown
### 隐藏卡片标题
<!--rehype:style=display:none;&wrap-style=padding-top: 0;-->
```
<!--rehype:className=wrap-text -->
布局
---
@ -273,7 +287,6 @@ H2 部分
放在 `## H2 部分` 下面的注释配置,与 `<!--rehype:body-class=cols-2-->` 相同,设置 2 栏布局。
### H3 部分
```markdown