jonschlinkert / sublime-monokai-extended

Extends Monokai from Soda with additional syntax highlighting for Markdown, LESS, HTML, Handlebars and more.
https://github.com/jonschlinkert
MIT License
514 stars 91 forks source link

Improvement for new LaTeX Syntax #72

Closed r-stein closed 8 years ago

r-stein commented 8 years ago

The rewrite of the LaTeX Syntax https://github.com/sublimehq/Packages/pull/370 changes the scope for math from string to a meta scope. This PR changes the highlighting, such that the special math highlighting will persist (even improved).

Color Scheme before after after + this PR
normal me_s0_c0 me_s1_c0 me_s1_c1
Origin me__orig_s0_c0 me__orig_s1_c0 me__orig_s1_c1
Bright me__bright_s0_c0 me__bright_s1_c0 me__bright_s1_c1
Light me__light_s0_c0 me__light_s1_c0 me__light_s1_c1
jonschlinkert commented 8 years ago

awesome! thanks!

jonschlinkert commented 8 years ago

great pr btw! the comparison is really nice!