Definition lists

The term is given on a line by itself, followed by one or more definitions. Each definition must begin with : (after 0-2 spaces); subsequent lines must be indented unless they are lazy paragraph continuations.

The list is tight if there is no blank line between the term and the first definition, otherwise loose.

$ comrak -e description-lists
apple
:   red fruit

orange
:   orange fruit

Loose:

$ comrak -e description-lists
apple

:   red fruit

orange

:   orange fruit

Indented marker:

$ comrak -e description-lists
apple
  : red fruit

orange
  : orange fruit
$ comrak -e description-lists
apple

 : red fruit

orange

 : orange fruit

Multiple blocks in a definition:

$ comrak -e description-lists
*apple*

:   red fruit

    contains seeds,
    crisp, pleasant to taste

*orange*

:   orange fruit

        { orange code block }

    > orange block quote

Nested lists:

$ comrak -e description-lists
term

:   1. Para one

       Para two

Multiple definitions, tight:

$ comrak -e description-lists
apple
:   red fruit
:   computer company

orange
:   orange fruit
:   telecom company

Multiple definitions, loose:

$ comrak -e description-lists
apple

:   red fruit

:   computer company

orange

:   orange fruit
:   telecom company

Lazy line continuations:

$ comrak -e description-lists
apple

:   red fruit

:   computer
company

orange

:   orange
fruit
:   telecom company

~ may be used as a marker instead of ::

$ comrak -e description-lists
apple
  ~ red fruit

orange
  ~ orange fruit

Definition terms may span multiple lines:

$ comrak -e description-lists
a
b\
c

:   foo

Definition list with preceding paragraph (https://github.com/jgm/commonmark-hs/issues/35):

$ comrak -e description-lists
Foo

bar
:   baz

bim
:   bor