Summary
I want to write math in <figcaption> but it doesn't get rendered. I wonder if it supported at all.
Expected behavior
I expect to see rendered math
Actual behavior
I see the commands I use to type math instead.
Steps to reproduce
- Use the
<figure> example in the HTML sample of mdmath
- Add to the caption:
c $a$ c. Save and compile
- Observe that
$a$ is not rendered in LaTeX.
Code example
<figure>
<img src="./img/triangle.png">
<figcaption>Fig 1: The right triangle c $a$ c</figcaption>
</figure>
Operating system: macOS 14.5 (Sonoma)
VSCode version: 1.91.1
Markdown+Math version: 2.7.4
Summary
I want to write math in
<figcaption>but it doesn't get rendered. I wonder if it supported at all.Expected behavior
I expect to see rendered math
Actual behavior
I see the commands I use to type math instead.
Steps to reproduce
<figure>example in the HTML sample of mdmathc $a$ c. Save and compile$a$is not rendered in LaTeX.Code example