2 title = "Render LaTeX with MathJax"
4 date = 2023-02-27T00:00:00Z
5 updated = 2023-02-27T00:00:00Z
9 This hack will allow LaTeX equations and markup to be rendered within a page on
12 Inline math can be surrounded with `$` and math blocks can be surrounded with
15 This can be used with both the WYSISYG editor and the Markdown editor and will
16 affect everything on a given page, meaning this can be used in titles,
17 book/chapter headings, etc.
21 This loads MathJax the MathJax JavaScript from a CDN, and will do so for every
24 Live previews of the rendered LaTeX markup will not be rendered in the Markdown
27 Using this markup may create difficulties when using the search engine to find
32 It is possible to configure MathJax as documented [here](https://docs.mathjax.org/en/latest/web/configuration.html).
36 {{<hack file="head.html" type="head">}}