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

MathJax #554

Closed
imabot2 opened this issue Feb 22, 2018 · 1 comment
Closed

MathJax #554

imabot2 opened this issue Feb 22, 2018 · 1 comment

Comments

@imabot2
Copy link

imabot2 commented Feb 22, 2018

I'm using MathJax with your wonderfull parser. I already read the issue #369 and followed the recommandation on erusev/parsedown-extra#81.

It works fine, here is a preview of the result : Derivative rules

My problem is that I have to escape MarkDown characters to avoid problems. I noticed that with editors like Jupyter Notebook, you don't have too.

Instead of

$$ Q_{V_A} = 3 $$

I have to write :

$$ Q\_{V\_A} = 3 $$

I also have to escape inline markup \\( and \\) which is a bit tedious.

What is your recommandation to overcome these issues ?

@aidantwoods
Copy link
Collaborator

For this specific case, I think it should work okay:
screen shot 2018-03-27 at 13 43 09

In general the best action would be to have an extension to Parsedown prevent the parsing of things inside mathjax delimiters.
I think that this shouldn't be done in Parsedown core – since in general, markdown should work inside $$ and other mathjax delimiters. Having it not work might be surprising for those not using mathjax.

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

2 participants