Enhance KaTeX (#26)

* Use `.Param` as switch of KaTeX.

This make you to decide to enable KaTeX for whole site or for single post.

* Enable rendering KaTeX in code block.

* Revert "Enable rendering KaTeX in code block."

This reverts commit 43684e6181.

* Fix description about KaTeX post param
This commit is contained in:
Shiva Huang
2019-03-25 23:43:53 +08:00
committed by Carson Ip
parent d88882e5c2
commit cb81cd0ae9
2 changed files with 9 additions and 1 deletions

View File

@@ -91,6 +91,14 @@ hidden = true
+++
```
### Enable KaTeX for this post
Enable KaTeX for a specific post without enabling the global switch.
```
+++
katex = true
+++
```
## Contributing
1. Fork it!