Make it possible to enable katex and mathjax globally in config.toml (#241)

* Add \\( and \\[ as mathjax delimiters

* Make it possible to enable katex and mathjax globally in config.toml
This commit is contained in:
KK
2019-11-26 22:30:07 +08:00
committed by Luiz F. A. de Prá
parent 64a613ce31
commit 9ca430610e
2 changed files with 4 additions and 2 deletions

View File

@@ -14,6 +14,8 @@ katex = "true"
+++
```
If you want to enable KaTeX or MathJax for all post, add `katex = ture` or `math = true` in `config.toml` in `[params]` section.
It's almost a dropin alternative to the mathjax solution,you should just choose one of them.
Inline math looks like this