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
659 stars 96 forks source link

javascript next #76

Open samselikoff opened 9 years ago

samselikoff commented 9 years ago

Any chance support could be added for JavaScript Next? This is a superset of current JS so it should work for all JS code blocks.

Currently if I have ES6 in my code blocks, things like export mess up syntax highlighting for the rest of document.

jonschlinkert commented 9 years ago

hmm, normally all we need to do is add the language that belongs to the extensions defined next to the first fence. see: here, and here. But - unless I'm missing something, es6 would just be source.js stil, which makes me think the issue might not something I can fix here. I'll try to look into to it, but any help/suggestions are welcome.