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

Space between list items #9

Closed
dsherret opened this issue Jul 2, 2020 · 1 comment
Closed

Space between list items #9

dsherret opened this issue Jul 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@dsherret
Copy link
Member

dsherret commented Jul 2, 2020

Would be good to make this configurable and probably the default.

@dsherret dsherret added the enhancement New feature or request label Jul 2, 2020
@dsherret
Copy link
Member Author

dsherret commented Jul 3, 2020

This is done. Blank lines in markdown have a specific meaning so this shouldn't be configurable.

A list is loose if any of its constituent list items are separated by blank lines, or if any of its constituent list items directly contain two block-level elements with a blank line between them. Otherwise a list is tight. (The difference in HTML output is that paragraphs in a loose list are wrapped in

tags, while paragraphs in a tight list are not.)

https://spec.commonmark.org/0.29/#loose

@dsherret dsherret closed this as completed Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant