executablebooks / myst-vs-code

A syntax highlighter for the MyST Markdown format
https://marketplace.visualstudio.com/items?itemName=ExecutableBookProject.myst-highlight
MIT License
36 stars 15 forks source link

Math directive does not render in preview #52

Open jgalazm opened 1 year ago

jgalazm commented 1 year ago

Describe the bug

The equations in a math directive do not render, whereas inline and math blocks do.

To Reproduce Type:

f(x)=1

The result is

image

Expected behavior To render as the following does: $$ f(x)=1 $$

image

Desktop (please complete the following information):

welcome[bot] commented 1 year ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada: