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

Markdown: conflict between multilevel lists and automatic code block formatting #79

Open
GoogleCodeExporter opened this issue Oct 21, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

See sample page at 
https://gerrit.googlesource.com/gitiles/+/c44a94af693ed2326b68bd47d6659be1f9f7fa
60/TEST.md

Whenever multi-paragraph list text is indented 8 or more spaces, gitiles 
renders it as a code block. Since it seems list paragraphs have to be indented 
4 spaces beyond the list item in order to be rendered along with the list item 
(<li><p></p><p></p>), this effectively limits multi-paragraph lists to only one 
level deep.

This is sort of related to Issue 73, which notes that nested lists require 4 
spaces of indent to be recognized, rather than just "indented more than the 
parent". If nested lists were recognized with only 2 spaces of indent, that 
would mitigate this problem a bit, since a list to go to 4 levels before 
hitting the automatic "8 space" handling.

Alternatively, if the automatic "8 space" handling was removed (it's arguably 
redundant with the triple-backtick notation), or at least treated relative to 
the immediate parent node, that would solve this entirely.

Original issue reported on code.google.com by [email protected] on 19 Jun 2015 at 7:24

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

No branches or pull requests

1 participant