feat(syntax): add fraction syntax (#181)

* feat(syntax): add fraction syntax

* docs: add remind for Hugo extended version
This commit is contained in:
Dillon
2020-03-18 00:52:36 +08:00
committed by GitHub
parent 01d814ef6f
commit 84d48f37dc
19 changed files with 104 additions and 24 deletions

View File

@@ -241,6 +241,26 @@ $$ \ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-} $$
[Hugo]^(一个开源的静态网站生成工具)
### 分数
{{< admonition warning >}}
{{< version 0.2.0 >}}
{{< /admonition >}}
**LoveIt** 主题支持一种 **分数** Markdown 扩展语法:
```markdown
[白天]{?/}[夜晚]
[99]{?/}[100]
```
呈现的输出效果如下:
[白天]/[夜晚]
[90]/[100]
### Font Awesome
**LoveIt** 主题使用 [Font Awesome](https://fontawesome.com/) 作为图标库.