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.
Support for latex was dropped due to (if I understand correctly) a change in .sublime-syntax processing that caused it to break. This PR does not revert back to the previous functionality but adds a temporary basic fix for display-math (using double $) and inline-math (using single $).
I am totally new to working with sublime-syntax files, so there might be some obvious improvements. Also, if others could test this fix to see if it breaks something else I think it would be preferable.
A further improvement that I am not knowledgeable enough to implement is to disable the markdown snippets and completions in the latex scope. This is done for the codeblocks (e.g. if in a python codeblock, I do not have access to the HTML snippets; b+tab will do nothing. In regular markdown, because it inherits from HTML, doing b+tab will create the bold tab <b></b>). If anyone has an idea on how to do this I would appreciate the input!
See #143 and #141.
Support for latex was dropped due to (if I understand correctly) a change in .sublime-syntax processing that caused it to break. This PR does not revert back to the previous functionality but adds a temporary basic fix for display-math (using double $) and inline-math (using single $).
I am totally new to working with sublime-syntax files, so there might be some obvious improvements. Also, if others could test this fix to see if it breaks something else I think it would be preferable.
A further improvement that I am not knowledgeable enough to implement is to disable the markdown snippets and completions in the latex scope. This is done for the codeblocks (e.g. if in a python codeblock, I do not have access to the HTML snippets;
b+tab
will do nothing. In regular markdown, because it inherits from HTML, doingb+tab
will create the bold tab<b></b>
). If anyone has an idea on how to do this I would appreciate the input!