Skip to content
Discussion options

You must be logged in to vote

Unfortunately, your example is not reproducible.

Note that to have the correct Hugo syntax, you need for some reasons to double escape the equation.

---
title: "New"
date: 2023-05-04T19:29:52-07:00
format: hugo-md
---

{{< katex >}}

$$ax^2+bx+c$$

inline {{< katex >}}\\\\(ax^2+bx+c\\\\) inline

Or include it in a raw markdown block1

---
title: "New"
date: 2023-05-04T19:29:52-07:00
format: hugo-md
---

```{=markdown}
{{< katex >}}

$$ax^2+bx+c$$

inline {{< katex >}}\\(ax^2+bx+c\\) inline
```

or raw inline markdown1

---
title: "New"
date: 2023-05-04T19:29:52-07:00
format: hugo-md
---

{{< katex >}}

$$ax^2+bx+c$$

inline `{{< katex >}}\\(ax^2+bx+c\\)`{=markdown} inline

Footnotes

  1. See http…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@cscheid
Comment options

@mcanouil
Comment options

mcanouil May 5, 2023
Collaborator

@wafflesatdawn
Comment options

@mcanouil
Comment options

mcanouil May 5, 2023
Collaborator

Answer selected by wafflesatdawn
@wafflesatdawn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #5427 on May 04, 2023 21:39.