facelessuser / MarkdownPreview

Markdown preview and build plugin for Sublime Text https://facelessuser.github.io/MarkdownPreview/
Other
405 stars 53 forks source link

Markdown syntax inside MathJax delimiter #110

Closed 0x7969 closed 4 years ago

0x7969 commented 4 years ago

Hi, I noticed that when using underscores (subscript in MathML) following a closing curly brace inside MathJax delimiters (which is a dollar sign for me), Sublime Text still interprets them as Markdown Syntax, thus displaying the following text as emphasized. HTML is rendered as expected. It's a bit annoying in the editor though.

Bildschirmfoto vom 2020-02-20 17-37-46

Thanks in advance!

facelessuser commented 4 years ago

Markdown Preview does not have a custom Syntax Highlighter. We only provide rendering, not highlighting.

@gir-bot remove S: triage @gir-bot add S: wontfix

0x7969 commented 4 years ago

Oh I'm very sorry, I thought I remembered that Sublime itself did not provide any Markdown highlighting and MarkdownPreview added it, which was wrong.

In case anybody faces the same problem: The "Markdown Extended" package provides a Markdown highlighter that recognizes the dollar signs.

Sorry again and thanks for your quick reply.