Skip to content

Simplified div syntax for definition lists? #70

@cscheid

Description

@cscheid

WRT #12 :

@hadley likes a simpler syntax:

* term1
  
  para with def1

  para with def2

* term2

  para with def1

  para with def 2

This is cleaner then what we have:

* term1
  * bulletlistitem with def1
  * bulletlistitem with def2
* term2
  * bulletlistitem with def1
  * bulletlistitem with def 2

The problem with the simplified definition is that Pandoc supports more than one para per definition. If we implement this, then, we will need to allow both syntaxes.

But we have reasons to not want multiple equivalent syntaxes. Multiple syntaxes increases the set of non-canonical documents. If the desugaring step is many-to-one, then the "resugaring step" needs to make a choice, which means that only one of the sugared notations is preserved under round tripping. That reduces the quality of the experience for collaborative writing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions