Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indented code blocks in list not recognized #181

Open
woojoo666 opened this issue Jun 22, 2018 · 4 comments
Open

indented code blocks in list not recognized #181

woojoo666 opened this issue Jun 22, 2018 · 4 comments

Comments

@woojoo666
Copy link

woojoo666 commented Jun 22, 2018

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
    
@jonschlinkert
Copy link
Owner

PR?

@woojoo666
Copy link
Author

@jonschlinkert Sorry not sure what that means...

@evanmoran
Copy link

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

@abathur
Copy link

abathur commented Mar 23, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants