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

Difference to commonmark with tight list and fence #329

Closed
alinex opened this issue Feb 11, 2017 · 2 comments
Closed

Difference to commonmark with tight list and fence #329

alinex opened this issue Feb 11, 2017 · 2 comments
Assignees
Labels

Comments

@alinex
Copy link

alinex commented Feb 11, 2017

I found that the following code is interpreted differently in common mark and markdown-it:

   - a
     > b
     ```
     c
     ```
   - d

While common mark will interpret it as tight list with a fenced code block markdown-it will issue an inline code element instead. Is this a bug or intended this way?

markdown-it demo
commonmark demo

@puzrin
Copy link
Member

puzrin commented Feb 11, 2017

That's not indended, markdown-it pass all 0.27 spec tests and we resync with latest spec from time to time.

Need to check what'up. Thanks for report.

@rlidwka
Copy link
Member

rlidwka commented Feb 14, 2017

Is this a bug or intended this way?

Definitely a bug (blockquotes inside indented lists hadn't been terminated correctly).

Thanks for reporting!

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

No branches or pull requests

3 participants