We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a list under a list is created in the markdown, it does not indent.
This is how list in GitHub behaves
1
2
And this is how showdown renders
The text was updated successfully, but these errors were encountered:
According to markdown spec, in lists, sub-blocks need to be indented 4 spaces. That includes sub-lists:
- foo - bar
However, almost all implementations (for historical reasons) accept 2 space indentations in sublists.
You can enabled this feature in showdown with option disableForced4SpacesIndentedSublists
disableForced4SpacesIndentedSublists
Sorry, something went wrong.
I just noticed that with the last update the Demo Page is broken (options won't stick). I will fix that as fast as possible
@tivie this is still broken for me too. I'm setting disableForced4SpacesIndentedSublists to true but still the following:
true
- foo - bar - baz - qux
gets rendered as:
I'm in the same boat here too. It looks like this Markdown:
- Parent - First child - Grandchild - Second child
Is rendering as this:
tivie
No branches or pull requests
When a list under a list is created in the markdown, it does not indent.
This is how list in GitHub behaves
List with Sub-lists
1
2
And this is how showdown renders
The text was updated successfully, but these errors were encountered: