File tree Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ Create React Doc provides the official default theme [crd-seed](https://github.c
43
43
* Support dark mode.
44
44
* The document supports embedded codepen, codesandbox.
45
45
* GitHub linkage.
46
+ * Support using tags to customize aggregate article content.
46
47
47
48
The projects built using this theme are:
48
49
Original file line number Diff line number Diff line change @@ -42,10 +42,11 @@ abbrlink: s31w9gd1
42
42
43
43
create-react-doc 提供了官方默认主题 [ crd-seed] ( https://github.com/MuYunyun/create-react-doc/tree/main/packages/crd-seed ) 。该主题支持以下特性:
44
44
45
- * 适配移动、PC 多端展示 。
45
+ * 适配移动、PC 端展示 。
46
46
* 支持暗黑模式。
47
- * 文档支持内嵌 codepen、codesandbox。
48
- * GitHub 联动。
47
+ * 支持文档内嵌展示 codepen、codesandbox 案例。
48
+ * 支持与 GitHub 文档编辑能力联动。
49
+ * 支持配置展示标签以自定义聚合文章内容。
49
50
50
51
[ 笔者博客] ( http://muyunyun.cn/blog ) 就是使用默认主题搭建的。
51
52
Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ Front-matter 是文件最上方包裹在 `<!--` 与 `-->` 之间的区域,用
9
9
``` md
10
10
<!--
11
11
abbrlink: 290a4219
12
+ tags: ['customTag1', 'customTag2']
12
13
-->
13
14
```
14
15
15
16
以下是预先定义的参数,您可在模板中使用这些参数值并加以利用。
16
17
17
- | 参数 | 描述 | 默认值 |
18
- | :------- | :-------------------------------------------------------------- | :----- |
19
- | abbrlink | 短链。用于指定页面路由展示为指定短链,使用短链有助于 SEO 搜索。 | |
18
+ | 参数 | 描述 | 类型 |
19
+ | :------- | :-------------------------------------------------------------- | :------- |
20
+ | abbrlink | 短链。用于指定页面路由展示为指定短链,使用短链有助于 SEO 搜索。 | |
21
+ | tags | 自定义标签 | string[ ] |
20
22
21
23
## 链接持久化
22
24
Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ abbrlink: 179nqpxt
6
6
7
7
` create-react-doc ` 严格遵循 [ Semantic Versioning 2.0.0] ( http://semver.org/lang/zh-CN/ ) 语义化版本规范。
8
8
9
+ ### 1.9.0
10
+
11
+ ` 2022-04-01 `
12
+
13
+ - ** Feature**
14
+
15
+ - 🚀 支持配置展示标签页以自定义聚合文章内容。[ issue] ( https://github.com/MuYunyun/create-react-doc/issues/264 )
16
+
9
17
### 1.8.2
10
18
11
19
` 2022-02-02 `
You can’t perform that action at this time.
0 commit comments