summaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorFrancesco <tomaselli.fr@gmail.com>2025-05-18 13:23:55 +0200
committerFrancesco <tomaselli.fr@gmail.com>2025-05-18 13:23:55 +0200
commit7e4e66b86fb36518397cc11492c51aeedf40bc82 (patch)
tree5989d4acd6b0578f9b4bded4639d5d4a8edf0105 /wiki
parentc8e312453e6cf194c724a1890b3b41475fee2e67 (diff)
Update katex, add rawhtml shortcode
Diffstat (limited to 'wiki')
-rw-r--r--wiki/features/single-page-parameters.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/wiki/features/single-page-parameters.md b/wiki/features/single-page-parameters.md
index 8ebb3c6..4f11e75 100644
--- a/wiki/features/single-page-parameters.md
+++ b/wiki/features/single-page-parameters.md
@@ -48,6 +48,19 @@ Enable math rendering.
math: true
```
+You may encounter issues rendering complex equations.
+This is due to a [known issue](https://discourse.gohugo.io/t/one-of-several-latex-equations-is-not-rendered-by-katex/47790).
+
+A possible workaround is to wrap your equation in `{{< rawhtml >}}` tags:
+
+```
+{{< rawhtml >}}
+$$
+...
+$$
+{{< rawhtml >}}
+```
+
## Tags
Create tags associated with the post and decide to show them.