KaTeX not rendering

I’m using the Researcher theme, and as instructed, I’ve set math: true in the configuration header of the page that I would like to have some math in.

But then, when I try it out as so:

$$
\mathcal{A} = \frac{1}{B}
$$

it does not render as math. It just shows up verbatim.

Is there something I might be missing?

{{< math >}}
$$
\mathcal{A} = \frac{1}{B}
$$
{{< /math >}}

@jmooring Thank you! I did not find that instruction anywhere. I suppose I did not know what to search for.

See https://github.com/ojroques/hugo-researcher/issues/23.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.