-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Remove spaces after list marker #7172
Comments
|
When converting to markdown, I think that rather than formatting lists like: (no space before the list marker, and three spaces after) they should instead be formatted like this: with two spaces before the list marker and one space after. In both cases the list content starts at 4-places in. Rationale:
pdf output: html output: |
|
Nested lists example. Here's the markdown: Here's the pdf output (of course, both styles render identically): |
I have to disagree with this for several reasons:
I think at most this should be an option to enable, like @reagle first quoted @jgm as saying. |
|
Note that in current HEAD, the extra spaces are omitted for |
|
I should note that I'm coming at this originally from RStudio Visual Markdown: rstudio/rstudio#11013 |
|
Not sure why I didn't mention it above, but as alluded to in the quote from @jgm , following the four-space-rule makes multi-line multi-paragraph list content line up really nicely, and makes it easy to see which list item to which content belongs. Here's an example: with output: (last list item didn't make it into the screenshot). |





When pandoc converts a list to markdown, the list marker is followed by three spaces. A few people seem to prefer this not be the case. @jgm wrote:
The text was updated successfully, but these errors were encountered: