diff options
Diffstat (limited to 'README_CN.md')
-rw-r--r-- | README_CN.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/README_CN.md b/README_CN.md index 52200ab..e5a135d 100644 --- a/README_CN.md +++ b/README_CN.md @@ -20,6 +20,7 @@ - [🎨 站点图标](#-站点图标) - [❌ License、目录和评论区](#-license目录和评论区) - [🎵 文章音乐](#-文章音乐) + - [📐 LaTeX 渲染](#-latex-渲染) - [📷 图片放大的设置和 lazyload](#-图片放大的设置和-lazyload) - [⚓ Markdown 钩子](#-markdown-钩子) - [📨 评论区](#-评论区) @@ -105,6 +106,42 @@ showComments = false # 对这篇文章关闭评论 playerCover = "..." ``` +### 📐 LaTeX 渲染 + +You can write LaTeX directly in markdown with escape characters: + +```txt +$$ +\begin{matrix} + a & b \\\\ c & d +\end{matrix} +$$ +``` + +Or use the short code, display style: + +```txt +{{< math >}} +\begin{matrix} + a & b \\ + c & d +\end{matrix} +{{</ math >}} +``` + +Inline style: + +```txt +{{< math "inline" >}} +\begin{matrix} + a & b \\ + c & d +\end{matrix} +{{</ math >}} +``` + +Don't forget to add `math = true` in your front matter or `config.toml`. + ### 📷 图片放大的设置和 lazyload 可放大,非 lazyload: |