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

Code fences inside of lists exits list #276

Open
albertyw opened this Issue Nov 3, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@albertyw

albertyw commented Nov 3, 2017

Possibly related to #275 or #263

Adding a code block inside of a list results in the parser immediately exiting the list <li> and <ul> / <ol> for the code block and anything below it. Note that this is with "fenced-code-blocks" enabled.

For this markdown:

1. asdf
    ```
    asdf
    ```
    asdf
1. qwer

python-markdown2 produces:

  1. asdf
asdf

asdf

  1. qwer

Github markdown syntax produces:

  1. asdf
    asdf
    
    asdf
  2. qwer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment