Skip to content

Commit f0231ae

Browse files
authored
fix(docs): Fixed typo 'userEmoji -> useEmoji (#212)
1 parent 1118a58 commit f0231ae

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎docs/config/show.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ sitemap:
3131
:::tip
3232
---
3333
- **Use 256 Color**
34-
- **rule**: `"38;5;${color_code: 0 ~ 255}"`
34+
- **rule**: `"38;5;${color_code: 0 ~ 255}"`
3535
⇒ the `color_code` can get it by [https://github.com/sindresorhus/xterm-colors](https://github.com/sindresorhus/xterm-colors)
3636
- **example**: `"38;5;075"`
3737

3838

3939
- **Use 256 RGB Color** <sup>(Not recommended for use in projects, **poor compatibility**)</sup>
40-
- **rule**: `"38;2;${R};${G};${B}"`
40+
- **rule**: `"38;2;${R};${G};${B}"`
4141
⇒ You can check this link to see if your terminal supports displaying 256 RGB Color True-Color: [https://github.com/termstandard/colors](https://github.com/termstandard/colors#truecolor-support-in-output-devices)
4242
- **example**: `"38;2;255;100;0"`
4343
---
@@ -55,7 +55,7 @@ export ___X_CMD_THEME_COLOR_CODE="38;5;043"
5555
- **example** : <br>`types: [{value: 'feat', name: 'feat: A new feature', emoji: ':sparkles:'}]`
5656

5757
:::tip
58-
If you want to use Emoji, you need ==enable== `userEmoji` configuration item. <br>
58+
If you want to use Emoji, you need ==enable== `useEmoji` configuration item. <br>
5959
And need to add Emoji Code, you can find the corresponding characters in: [https://gitmoji.dev/](https://gitmoji.dev/) or [emoji-cheat-sheet](https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md) to supplement `emoji`.
6060
:::
6161

@@ -166,7 +166,7 @@ Using ==default value== can produce many ways to make the tool more suitable for
166166

167167
## defaultScope
168168

169-
- **description** : pin scope item the top of the scope list (match `scopes` item value)
169+
- **description** : pin scope item the top of the scope list (match `scopes` item value)
170170
- **type** : `string` | `string[]` <sup>For checkbox mode. items will automatic checked</sup>
171171
- **default** : `""`
172172
- **other** : Initialize the completion template in **custom scope**. you can use <kbd>Tab</kbd> or <kbd>→</kbd> to quickly complete; you can also use the <kbd> Enter</kbd> output template directly.

‎docs/zh/config/show.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ sitemap:
3131
:::tip
3232
---
3333
- **使用 256 Color**
34-
- **规则**: `"38;5;${color_code: 0 ~ 255}"`
34+
- **规则**: `"38;5;${color_code: 0 ~ 255}"`
3535
⇒ `color_code` 可以通过链接查看获取 [https://github.com/sindresorhus/xterm-colors](https://github.com/sindresorhus/xterm-colors)
3636
- **示例**: `"38;5;075"`
3737

3838
- **使用 256 RGB Color** <sup>(不推荐使用在团队项目中使用,**需要终端支持,兼容性较差**)</sup>
39-
- **规则**: `"38;2;${R};${G};${B}"`
39+
- **规则**: `"38;2;${R};${G};${B}"`
4040
⇒ 你可以查看这个链接,查看你使用的终端是否支持显示 256 RGB True-Color: [https://github.com/termstandard/colors](https://github.com/termstandard/colors#truecolor-support-in-output-devices)
4141
- **示例**: `"38;2;255;100;0"`
4242

@@ -56,7 +56,7 @@ export ___X_CMD_THEME_COLOR_CODE="38;5;043"
5656
- **例子** : <br>`types: [{value: 'feat', name: 'feat: 新增功能 | A new feature', emoji: ':sparkles:'}]`
5757

5858
:::tip
59-
如果要使用 Emoji 需要 ==开启== `userEmoji` 配置项。<br>
59+
如果要使用 Emoji 需要 ==开启== `useEmoji` 配置项。<br>
6060
==并且需添加 Emoji Code==,可以在: [https://gitmoji.dev/](https://gitmoji.dev/) 或 [emoji-cheat-sheet](https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md) 查找相应的字符进行补充到 `emoji`。
6161
:::
6262

@@ -170,9 +170,9 @@ export ___X_CMD_THEME_COLOR_CODE="38;5;043"
170170
- **描述** : 如果 defaultScope 与 `scopes` 选择范围列表项中的 value 相匹配就会进行星标置顶操作。
171171
- **类型** : `string` | `string[]` <sup>[...] 在多选模式中会默认选中</sup>
172172
- **默认** : `""`
173-
- **额外** : 在 **自定义范围** 中是否使用显示默认值
173+
- **额外** : 在 **自定义范围** 中是否使用显示默认值
174174

175-
[⇒ 查看小窍门](/zh/recipes/default-scope.html)
175+
[⇒ 查看小窍门](/zh/recipes/default-scope.html)
176176

177177
## defaultSubject
178178

@@ -204,4 +204,4 @@ export ___X_CMD_THEME_COLOR_CODE="38;5;043"
204204
- **默认** : `""`
205205
- **使用** : **初始化补全模板**,可使用 <kbd>Tab</kbd> 或者 <kbd>→</kbd> 进行快速补全;亦可直接使用 <kbd>Enter</kbd> 输出模板。
206206

207-
[⇒ 查看小窍门](/zh/recipes/default-issues.html)
207+
[⇒ 查看小窍门](/zh/recipes/default-issues.html)

0 commit comments

Comments
 (0)