Restore original math typesetting content
This commit is contained in:
@@ -44,12 +44,13 @@ In this example we will be using [KaTeX](https://katex.org/)
|
|||||||
- Include the partial in your templates like so:
|
- Include the partial in your templates like so:
|
||||||
|
|
||||||
```
|
```
|
||||||
{{ if .Params.paige.math }}
|
{{ if or .Params.math .Site.Params.math }}
|
||||||
{{ partial "math.html" . }}
|
{{ partial "math.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
```
|
```
|
||||||
|
|
||||||
To enable KaTex on a per page basis include the parameter `paige.math: true` in content files
|
- To enable KaTeX globally set the parameter `math` to `true` in a project's configuration
|
||||||
|
- To enable KaTeX on a per page basis include the parameter `math: true` in content files
|
||||||
|
|
||||||
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
|
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user