Enabling KaTex Instructions (#217)

* Enabling KaTex Instructions

This would have been really helpful if that was documented, many users aren't able to render the KaTex and aren't sure why/where to look
Also,  fixed spelling some spelling

* Update README.md

Co-authored-by: Alex Shpak <alex-shpak@users.noreply.github.com>
This commit is contained in:
Justin 2020-05-22 01:35:31 -07:00 committed by GitHub
parent 8edf0aab16
commit d198d96b30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -259,7 +259,7 @@ To enable plugin add `@import "plugins/{name}";` to `assets/_custom.scss` in you
### Hugo Internal Templates
There are few hugo tempaltes inserted in `<head>`
There are few hugo templates inserted in `<head>`
- [Google Analytics](https://gohugo.io/templates/internal/#google-analytics)
- [Open Graph](https://gohugo.io/templates/internal/#open-graph)
@ -273,6 +273,14 @@ There are few hugo tempaltes inserted in `<head>`
- [KaTeX](https://themes.gohugo.io/theme/hugo-book/docs/shortcodes/katex/)
- [Mermaid](https://themes.gohugo.io/theme/hugo-book/docs/shortcodes/mermaid/)
- [Tabs](https://themes.gohugo.io/theme/hugo-book/docs/shortcodes/tabs/)
By default, Goldmark trims unsafe output which might prevent some shortcodes from rendeting. It's recommended to set `markup.goldmark.renderer.unsafe=true` in case of problems.
```toml
[markup.goldmark.renderer]
unsafe = true
```
If you are using ```config.yaml``` or ```config.json```, consult [configuration markup](https://gohugo.io/getting-started/configuration-markup/)
## Versioning