-
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
Macros do not work #114
Comments
Simply does not work for me, on two different computers too. Maybe it's an interaction with one of my installed extensions?
Produces
|
hmm ... please deactivate all markdown related extensions ... temporarily ... |
It's the Markdown All In One extension. Ugh I bet it's this, right in the Readme:
|
Fixed.
Settings:
Sorry for the trouble! Can close this, I think. |
Thanks for successfully investigating this. Can you please do me a favor and raise an analog issue regarding macro collision there, while referencing your reproducable steps here ... thanks. |
I'd be happy to do that, but I'm not exactly clear on what you mean? Could you clarify more precisely what you'd like me to do? |
don't worry ... I did it by myself ... thanks again. |
I have another problem, but I wanted to ask you about it before opening a whole issue. Is there any way to get latex macros to render with the markdown file uploaded to gitlab/github? I'm getting the error "There was an error rendering this math block," I assume because gitlab doesn't know how to interpret the macros without them being defined anywhere. Not sure how to resolve this, or if it's even possible? |
hmm ... macros are resolved in VSCode Markdown via mdmath via markdown-it-texmath via KaTeX. GitLab should have a completely different math engine. If that doesn't support macros, you are lost. GitHub doesn't have a math engine at all. The only way I know is working, is to export HTML from mdmath to GitHub pages or something similar with GitLab. |
That's what I figured. How do you get github to render html (I looked into it a bit online but I'm wondering what your approach is)? |
I have an another trouble: MPE(markdown preview enhanced) doesn't support the macros. And it works when I disable it. |
Summary
The macro example from the Readme is not working. Identical to issue 63.
Expected behavior
Preview without errors.
Actual behavior
Red symbols
\RR
and\vek
. Also\R
renders mathbb{R} correctly, while\RR
does not.Steps to reproduce
Code example
settings.json
section.md
file test sectionRelated links
Environment
The text was updated successfully, but these errors were encountered: