Skip to content
Discussion options

You must be logged in to vote

On 3.x, inline math goes in backticks inside the dollars, the same syntax GitHub and GitLab use:

The energy of a body at rest is $`E = mc^2`$, and the roots are $`\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}`$.

A bare $E = mc^2$ is never treated as math. That's deliberate, so $5 and $10 or $HOME in a sentence stay as text. It's spelled out in the hint under Administration > Editors > Markdown > Inline Math (the KaTeX/MathJax setting you switched). Your build has the feature: 3.0.0-beta.663 is commit ac0b3a3, the push right after inline math landed in ad59894 (plugin source).

Two related things:

  • The KaTeX (or MathJax) block also has to be enabled under Administration > Content Blocks. If it isn't, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NGPixel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants