Skip to content

"Loose" Lists #1

@chjj

Description

@chjj

When "loose" lists, as they're called (lists with their items separated by 2 line feeds), get implemented, it introduces some ambiguity to parsing. This is a bit of a problem with the markdown grammar itself.

* List 1
  Text
* List 1
  Text

* Loose List 1
  Text

* Loose List 1
  Text

What is that? Is it 2 separate lists? One tight, one loose? Is it three lists? One with 2 items, and 2 with one item? Is it a single list with the items spaced differently? The only solution I see, is to actually always separate consecutive lists by 3 line feeds:

* List 1
  Text
* List 1
  Text


* Loose List 1
  Text

* Loose List 1
  Text

Which would be rendered as 2 lists: one tight, one loose. This is probably what will happen once I merge the experimental branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions