@@ -1437,8 +1437,8 @@ If default list markers are desired, use `#.`:
1438**Extension: `definition_lists`**
1438**Extension: `definition_lists`**
1440−Pandoc supports definition lists, using a syntax inspired by
1440+Pandoc supports definition lists, using the syntax of
1441−[PHP Markdown Extra] and [reStructuredText]:[^3]
1441+[PHP Markdown Extra] with some extensions.[^3]
@@ -1455,25 +1455,41 @@ Pandoc supports definition lists, using a syntax inspired by
1455Each term must fit on one line, which may optionally be followed by
1455Each term must fit on one line, which may optionally be followed by
1456a blank line, and must be followed by one or more definitions.
1456a blank line, and must be followed by one or more definitions.
1457A definition begins with a colon or tilde, which may be indented one
1457A definition begins with a colon or tilde, which may be indented one
1458−or two spaces. The body of the definition (including the first line,
1458+or two spaces.
1459−aside from the colon or tilde) should be indented four spaces. A term may have
1459+
1460−multiple definitions, and each definition may consist of one or more block
1460+A term may have multiple definitions, and each definition may consist of one or
1461−elements (paragraph, code block, list, etc.), each indented four spaces or one
1461+more block elements (paragraph, code block, list, etc.), each indented four
1462−tab stop.
1462+spaces or one tab stop. The body of the definition (including the first line,
1463−
1463+aside from the colon or tilde) should be indented four spaces. However,
1464+as with other markdown lists, you can "lazily" omit indentation except
1465+at the beginning of a paragraph or other block element:
1470+ with lazy continuation.
1472+ Second paragraph of the definition.
1464−If you leave space after the definition (as in the example above),
1474+If you leave space before the definition (as in the example above),
1465−the blocks of the definitions will be considered paragraphs. In some
1475+the text of the definition will be treated as a paragraph. In some
1466output formats, this will mean greater spacing between term/definition
1476output formats, this will mean greater spacing between term/definition
1467−pairs. For a compact definition list, do not leave space between the
1477+pairs. For a more compact definition list, omit the space before the
1468−definition and the next term:
1478+definition:
1471 ~ Definition 1
1481 ~ Definition 1
1473 ~ Definition 2a
1484 ~ Definition 2a
1474 ~ Definition 2b
1485 ~ Definition 2b
1487+Note that space between items in a definition list is required.
1488+(A variant that loosens this requirement, but disallows "lazy"
1489+hard wrapping, can be activated with `compact_definition_lists`: see
1490+[Non-pandoc extensions](#non-pandoc-extensions), below.)
1476−[^3]: I have also been influenced by the suggestions of [David Wheeler](http://www.justatheory.com/computers/markup/modest-markdown-proposal.html).
1492+[^3]: I have been influenced by the suggestions of [David Wheeler](http://www.justatheory.com/computers/markup/modest-markdown-proposal.html).
1478[PHP Markdown Extra]: http://www.michelf.com/projects/php-markdown/extra/
1494[PHP Markdown Extra]: http://www.michelf.com/projects/php-markdown/extra/
@@ -2629,6 +2645,32 @@ these, so they are presently just ignored.
2629Parses multimarkdown style header identifiers (in square brackets,
2645Parses multimarkdown style header identifiers (in square brackets,
2630after the header but before any trailing `#`s in an ATX header).
2646after the header but before any trailing `#`s in an ATX header).
2648+**Extension: `compact_definition_lists`**\
2649+Activates the definition list syntax of pandoc 1.12.x and earlier.
2650+This syntax differs from the one described [above](#definition-lists)
2651+in several respects:
2653+ - No blank line is required between consecutive items of the
2655+ - To get a "tight" or "compact" list, omit space between consecutive
2656+ items; the space between a term and its definition does not affect
2658+ - Lazy wrapping of paragraphs is not allowed: the entire definition must
2659+ be indented four spaces.[^6]
2661+[^6]: To see why laziness is incompatible with relaxing the requirement
2662+ of a blank line between items, consider the following example:
2669+ Is this a single list item with two definitions of "bar," the first of
2670+ which is lazily wrapped, or two list items? To remove the ambiguity
2671+ we must either disallow lazy wrapping or require a blank line between
2632Markdown variants
2674Markdown variants
2633-----------------
2675-----------------