-
Notifications
You must be signed in to change notification settings - Fork 43
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
Handles multiple paragraphs and code blocks in list incorrectly #8
Comments
This is a known behavior of You should either write (note indent is 4 spaces):
Or you can use tabs. This is the recommended style and it's what |
May that as it be, your library has github in its name :) – Also, ordinary continuation lines of a list item don't need to be indented deeper than the first line. Why is that not true for additional paragraphs? |
I agree, this is a bug, because this package's intent is to be compatible with GitHub Flavored Markdown rendering as done via their API:
What I shared above is a workaround you can use until this is resolved. To resolve this issue, russross/blackfriday#244 needs to be resolved. |
Possibly related, the indents for nested list items is off. Consider the following:
The above renders as fully nested in Markdown. The following indentation is needed to get it to render correctly in github_flavored_markdown:
The workaround to use 4 spaces works. |
Consider the following markdown input:
Your package renders it as
That is, it closes the list too soon. GitHub renders it correctly:
List item 1
List item 2
more text here
The text was updated successfully, but these errors were encountered: