From 7e4e66b86fb36518397cc11492c51aeedf40bc82 Mon Sep 17 00:00:00 2001 From: Francesco Date: Sun, 18 May 2025 13:23:55 +0200 Subject: Update katex, add rawhtml shortcode --- wiki/features/single-page-parameters.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'wiki') 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. -- cgit v1.2.3