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

Fixes in-text formulas with dollar signs #11

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

tatums
Copy link

@tatums tatums commented Apr 21, 2020

Context

👋 Hey there!

I found that if an in-text formula contains a (escaped) dollar sign, it incorrectly uses that as a delimiter. AFAIK this should be allowed.

Expected

$\sum_{\$4}$ => <p>\(sum_{\$4}^2\)</p>

Actual

$\sum_{\$4}$ => <p>$sum_{\(4}^2\)</p>

As you can see it appears to be converting the inner $4 as the beginning of the MathJax expression.

Here's what Pandoc evaluates to:
2020-04-20_13-53

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

Successfully merging this pull request may close these issues.

1 participant