-
Notifications
You must be signed in to change notification settings - Fork 56
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
Support doxygen-style math delimiters #121
Comments
@goessner is there anything I can do on my side (tweak settings in a file or so) to enable doxygen math delimiters in mdmath, Stefan? |
Yes ... please try to add doxygen delimiters to the delimiters array in https://github.com/goessner/markdown-it-texmath I will come back to markdown-it-texmath and mdmath in two weeks at the earliest. thanks |
Thank you! I tried to poke around and do something like this already, but unfortunately I could not locate the files related to the VS Code extension on my disk. (I'm not a web/JS person, so that will also not help) The point I tried to make in the issue description is that support seems to be there in markdown-it-texmath, but it does not work in mdmath. |
Ahh ... I see. In fact I need to update mdmath to current markdown-it-texmath version. This will take same time beside other actions. What you can try to do is replace in your folder
the Alternatively you can copy the doxygen stuff into your |
Aahh, I was looking in APPDATA... Curiously, it seems empty lines are neecessary before starting an equation block (for it to be rendered correctly), which I'm not sure is expected for markdown, but I guess that's a markdown-it-texmath limitation? Also, the |
Summary
The Readme tells us that mdmath uses "markdown-it-texmath's support of different formula delimiters".
In the list of Mdmath: Delimiters configuration settings,
doxygen
is conspicuously absent although it's listed in markdown-it-texmath's Readme.Using this markdown file
I tested different settings for the Mdmath: Delimiters settings.
brackets
works correctly. Interestingly I need a VS Code restart for the setting to become active.Expected behavior
Using the
doxygen
setting, I expect the formula to be rendered.Actual behavior
Unfortunately, using
doxygen
does not seem to do anything - the code remains raw and not rendered into a formula(I suspect that the dollars variant keeps getting rendered because of base markdown extension support)
Environment
The text was updated successfully, but these errors were encountered: