sublime-markdown-extended icon indicating copy to clipboard operation
sublime-markdown-extended copied to clipboard

indented code blocks in list not recognized

Open woojoo666 opened this issue 7 years ago • 4 comments

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:

  • a list item

      a bit of code
    

woojoo666 avatar Jun 22 '18 06:06 woojoo666

PR?

jonschlinkert avatar Jun 25 '18 18:06 jonschlinkert

@jonschlinkert Sorry not sure what that means...

woojoo666 avatar Jun 29 '18 00:06 woojoo666

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

evanmoran avatar Jul 01 '18 18:07 evanmoran

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.

abathur avatar Mar 23 '19 15:03 abathur