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

@@ -246,6 +246,26 @@ The rendered output looks like this:
[Hugo]^(An open-source static site generator)
### Fraction
{{< admonition warning >}}
{{< version 0.2.0 >}}
{{< /admonition >}}
An extended Markdown syntax for **fraction** is supported in **LoveIt** theme:
```markdown
[Light]{?/}[Dark]
[99]{?/}[100]
```
The rendered output looks like this:
[Light]/[Dark]
[90]/[100]
### Font Awesome
**LoveIt** theme uses [Font Awesome](https://fontawesome.com/) as the icon library.