Skip to content

Comments

Fixes in-text formulas with dollar signs#11

Open
tatums wants to merge 8 commits intoclasseur:masterfrom
scholastica:subscript-fix
Open

Fixes in-text formulas with dollar signs#11
tatums wants to merge 8 commits intoclasseur:masterfrom
scholastica:subscript-fix

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