Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is writing math in <figcaption> supported? #132

Open
nucflash opened this issue Aug 3, 2024 · 0 comments
Open

Is writing math in <figcaption> supported? #132

nucflash opened this issue Aug 3, 2024 · 0 comments

Comments

@nucflash
Copy link

nucflash commented Aug 3, 2024

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

  1. Use the <figure> example in the HTML sample of mdmath
  2. Add to the caption: c $a$ c. Save and compile
  3. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant