Rename math parameter to paige_math

This commit is contained in:
Will Faught
2022-12-16 16:30:26 -08:00
parent 0f279dde80
commit 820c0c5f05
4 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ author: Hugo Authors
title: Math Typesetting
date: 2019-03-08
description: A brief guide to setup KaTeX.
math: true
paige_math: true
---
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
@@ -21,8 +21,8 @@ In this example we will be using [KaTeX](https://katex.org/)
{{ end }}
```
- 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
- To enable KaTex globally set the parameter `paige_math` to `true` in a project's configuration
- To enable KaTex on a per page basis include the parameter `paige_math: true` in content files
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)