chore(i18n): improve translations of zh-cn (#14)

This commit is contained in:
Xin
2023-08-30 16:35:04 -04:00
committed by GitHub
parent e1a2109a68
commit b709452d16
17 changed files with 269 additions and 113 deletions

View File

@ -1,10 +1,10 @@
---
title: "LaTeX"
title: "LaTeX 公式"
weight: 4
math: true
---
$\KaTeX$ 用于呈现 LaTeX 数学表达式. 可在 `front matter``math` 设置为 `true` 来启用.
$\KaTeX$ 用于呈现 LaTeX 数学表达式可在 `frontmatter``math` 设置为 `true` 来启用
<!--more-->
@ -13,16 +13,15 @@ $\KaTeX$ 用于呈现 LaTeX 数学表达式. 可在 `front matter` 将 `math`
title: "My Page with LaTeX"
math: true
---
```
启用后, KaTeX 中的脚本, 样式表和字体将自动包含在你的网站中. 这样就可以在 Markdown 内容中使用 LaTeX 数学表达式.
启用后KaTeX 中的脚本样式表和字体将自动包含在你的网站中这样就可以在 Markdown 内容中使用 LaTeX 数学表达式
## 例
##
Markdown 内容支持内联和单独的 LaTeX 数学表达式.
Markdown 内容支持行内和独立段落的 LaTeX 数学表达式
### 内
###
```markdown {filename="page.md"}
This $\sigma(z) = \frac{1}{1 + e^{-z}}$ is inline.
@ -30,28 +29,28 @@ This $\sigma(z) = \frac{1}{1 + e^{-z}}$ is inline.
This $\sigma(z) = \frac{1}{1 + e^{-z}}$ is inline.
### 单独的
### 独立段落
```markdown {filename="page.md"}
$$F(\omega) = \int_{-\infty}^{\infty} f(t) e^{-j\omega t} \, dt$$
```
will be rendered as:
将被渲染为:
$$F(\omega) = \int_{-\infty}^{\infty} f(t) e^{-j\omega t} \, dt$$
## 支持的功能
有关支持的函数列表, 转至 [KaTeX supported functions](https://katex.org/docs/supported.html).
有关支持的符号列表,转至 [KaTeX 支持的公式](https://katex.org/docs/supported.html)
## 化学表达式
通过 [mhchem](https://mhchem.github.io/MathJax-mhchem/) 支持化学表达式。
内联: $\ce{H2O}$ is water.
行内:$\ce{H2O}$ 是水。
单独的:
独立段落:
```markdown {filename="page.md"}
$$\ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-}$$