jonschlinkert / sublime-markdown-extended

Top 100 Sublime Text plugin! Markdown syntax highlighter for Sublime Text, with extended support for GFM fenced code blocks, with language-specific syntax highlighting. YAML Front Matter. Works with ST2/ST3. Goes great with Assemble.
https://github.com/jonschlinkert
MIT License
660 stars 96 forks source link

feature request: Babel (JavaScript) support #154

Open jsilvermist opened 7 years ago

jsilvermist commented 7 years ago

When using Babel syntax highlighting you have to disable the default JavaScript package in order for it to be used in HTML script tags, and other such places.

After disabling the default JavaScript package, instead of switching to using Babel after restart like other syntax highlighters, markdown highlighting breaks in the first js/javascript block with a comment (both line or block comments).

leesei commented 6 years ago

It seems to be an issue with Babel https://github.com/SublimeText-Markdown/MarkdownEditing/issues/438

The first comment is parsed as division plus a regex.