Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3160d9f

Browse files
committed
Add more instruction on highlight setting
1 parent82544d5 commit3160d9f

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

‎README.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Open `/themes/obsidian/_config.yml` can change the theme configs
3434
#! Obsidian theme use manual highlight.js
3535
#! To maintain the code block css display properly
3636
#! please change your default highlight setting as off!!
37+
#! Rebuild files after you changed the config:
38+
#! `hexo clean && hexo g`
3739
#! ---------------------------------------------------------------
3840
#! highlight:
3941
#! enable: false
@@ -139,7 +141,7 @@ html_truncate:
139141
> Turn off default`highlight` to ensure code block style display properly.
140142
Because Obsidian theme use manual highlight.js
141143
To maintain the code block css display properly
142-
please change your default highlight setting as off.
144+
please change your default highlight setting as off!!
143145

144146
```yaml
145147
...
@@ -153,6 +155,12 @@ highlight:
153155
...
154156
```
155157

158+
> Rebuild files after you changed the config
159+
160+
```bash
161+
hexo clean && hexo g
162+
```
163+
156164
### Post template
157165

158166
Post template settings

‎README_CN.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ highlight:
153153
...
154154
```
155155

156+
> 修改了默认highlight配置后需要重新生成文件
157+
158+
```bash
159+
hexo clean && hexo g
160+
```
161+
156162
### 文章模版
157163

158164
文章模版设置

‎_config.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#! Obsidian theme use manual highlight.js
33
#! To maintain the code block css display properly
44
#! please change your default highlight setting as off!!
5+
#! Rebuild files after you changed the config:
6+
#! `hexo clean && hexo g`
57
#! ---------------------------------------------------------------
68
#! highlight:
79
#! enable: false

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp