Closed alexdewar closed 2 hours ago
Thanks for the report! I believe you need to escape underscores with a backslash so they are not interpreted as emphasis. I think this is a duplicate of #662, so closing in favor of that. You may also want to check out mdbook-katex which has better math support.
Ahhh I see. That did the trick. Thanks for your speedy response!
Problem
I'm trying to render the following equation using mdbook's MathJax support:
Which should look like this:
Unfortunately, with
mdbook
it doesn't render at all and I'm just left with the raw text.Steps
Possible Solution(s)
Looking at the HTML output reveals:
Notice the random
<em>
block in the middle of the equation. Presumably mdbook shouldn't be inserting any HTML into equation blocks, but in any case it's definitely wrong here.Notes
No response
Version
v0.4.40