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

indented code blocks in list not recognized #181

Open woojoo666 opened 6 years ago

woojoo666 commented 6 years ago

within lists, markdown extended does not recognize indented code blocks (no matter how many new lines or indentations I use).

This is part of default markdown. For example, the markdown code below:

* a list item

        a bit of code

in Github renders to:

jonschlinkert commented 6 years ago

PR?

woojoo666 commented 6 years ago

@jonschlinkert Sorry not sure what that means...

evanmoran commented 6 years ago

@woojoo666, I believe @jonschlinkert is suggesting you submit the code change (called a Pull Request) to fix this!

abathur commented 5 years ago

https://github.com/sekogan/MarkdownLight can highlight these code blocks, so it may serve as good example if someone tries to implement this. It also looks like a fork of that extension at https://github.com/evandroforks/MarkdownLight has done some or all of the work to translate it to .sublime-syntax format.