diff options
author | amzrk2 | 2020-07-25 18:24:04 +0800 |
---|---|---|
committer | amzrk2 | 2020-07-25 18:24:04 +0800 |
commit | 73a776cccb9d1a993da6910c20166bafdd5c731e (patch) | |
tree | f4b38ce351315df6d13aa45ef303f49b2e2a6986 /README_CN.md | |
parent | 62ae83b7513c2c6c8bd857b7ed5f9f2f47512b43 (diff) | |
download | hugo-theme-fuji-73a776cccb9d1a993da6910c20166bafdd5c731e.tar.gz hugo-theme-fuji-73a776cccb9d1a993da6910c20166bafdd5c731e.tar.bz2 hugo-theme-fuji-73a776cccb9d1a993da6910c20166bafdd5c731e.zip |
Update README
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: |