Improve documentation about katex support

This commit is contained in:
Carson Ip
2019-03-24 14:49:30 +08:00
parent d9e2bd5022
commit d88882e5c2

View File

@@ -68,6 +68,10 @@ disqusShortname = "xxxxxx"
katex = true katex = true
``` ```
This option enables the KaTeX auto-render extension. To render block math, use `$$ ... $$`. For inline math, use `\\( ... \\)`. For more details, please refer to https://github.com/KaTeX/KaTeX/blob/v0.7.1/contrib/auto-render/auto-render.js#L73 .
### Others
For other configuration variables, visit [Hugo documentation](https://gohugo.io/overview/configuration/#configuration-variables). For other configuration variables, visit [Hugo documentation](https://gohugo.io/overview/configuration/#configuration-variables).
## Post Params ## Post Params