From 6e56de5e56c5b262989da6adae574e67d884665f Mon Sep 17 00:00:00 2001 From: HPCesia Date: Sun, 20 Oct 2024 21:06:38 +0800 Subject: [PATCH] update README --- README.md | 3 ++- README_zh-CN.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b14f695..77857fe 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ shiki: line_number: false strip_indent: true tab_replace: " " + pre_style: true # Preserve the style of the
 tag, i.e., the theme's `background-color`.
   additional:
     langs: # List of the TextMate grammar json of languages to be added.
       - path/to/lang_grammar.json
@@ -56,7 +57,7 @@ See [Dual Themes](https://shiki.style/guide/dual-themes) for how to switch betwe
 
 ## Bugs
 ### mathjax
-If you are using [hexo-filter-mathjax](https://github.com/next-theme/hexo-filter-mathjax) or any other plugin that uses mathjax to render mathematical formulas locally, you may encounter an `Error: Can't find handler for document` when rendering articles that include code blocks and have mathjax rendering enabled. This is a problem with mathjax, as its LiteDOM cannot parse complex HTML fragments.
+If you are using [hexo-filter-mathjax](https://github.com/next-theme/hexo-filter-mathjax) or any other plugin that uses mathjax to render mathematical formulas locally, you may encounter an `Error: Can't find handler for document` when rendering articles that include code blocks and have mathjax rendering enabled. This is a problem with mathjax, as its LiteDOM adaptor cannot parse complex HTML fragments.
 
 #### Solution
 
diff --git a/README_zh-CN.md b/README_zh-CN.md
index d8b932d..8bd0842 100644
--- a/README_zh-CN.md
+++ b/README_zh-CN.md
@@ -35,6 +35,7 @@ shiki:
   line_number: false
   strip_indent: true
   tab_replace: "  "
+  pre_style: true # Preserve the style of the 
 tag, i.e., the theme's `background-color`.
   additional:
     langs: # List of the TextMate grammar json of languages to be added.
       - path/to/lang_grammar.json
@@ -55,7 +56,7 @@ shiki:
 
 ## Bugs
 ### mathjax
-如果你正在使用 [hexo-filter-mathjax](https://github.com/next-theme/hexo-filter-mathjax) 或其他任意在本地使用 mathjax 渲染数学公式的插件,在渲染包含代码块且开启 mathjax 渲染的文章时可能会出现 `Error: Can't find handler for document`。这是 mathjax 的问题,mathjax 的 LiteDOM 无法解析复杂的 HTML 片段。
+如果你正在使用 [hexo-filter-mathjax](https://github.com/next-theme/hexo-filter-mathjax) 或其他任意在本地使用 mathjax 渲染数学公式的插件,在渲染包含代码块且开启 mathjax 渲染的文章时可能会出现 `Error: Can't find handler for document`。这是 mathjax 的问题,mathjax 的 LiteDOM adaptor 无法解析复杂的 HTML 片段。
 
 #### 解决方法