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

Higlighting the entire code block #25

Closed houshuang closed 8 years ago

houshuang commented 10 years ago

Would it be possible to higlight the entire fenced code block, similar to what RStudio does? Even if this was just an option, or if there was an easy way to do this I could make the edit myself... I find it much cleaner to have the Markdown visually separated from the code.

Thanks!

jonschlinkert commented 10 years ago

You mean a background? That's doable, but I'm curious if ST has some kind of options that would allow that to be turned on or off, or if I need to actually included a separate theme to do it (I personally don't want that, but I can see why it's nice to have).

houshuang commented 10 years ago

Exactly. I don't know how easy it would be easier, but it was something I was thinking of, and I would especially love it for my Rmd files (R + Markdown, using knitr to generate reports).

thanks!

Stian

On Sun, Oct 13, 2013 at 9:17 PM, Jon Schlinkert notifications@github.comwrote:

You mean a background? That's doable, but I'm curious if ST has some kind of options that would allow that to be turned on or off, or if I need to actually included a separate theme to do it (I personally don't want that, but I can see why it's nice to have).

— Reply to this email directly or view it on GitHubhttps://github.com/jonschlinkert/sublime-markdown-extended/issues/25#issuecomment-26231639 .

http://reganmian.net/blog -- Random Stuff that Matters

jonschlinkert commented 8 years ago

closing since this is something I personally would dislike.. however, I'd be happy to take a pr if someone would like to add preferences that would allow this to be enabled/disabled.