Enable with .UseDefinitionLists() (included in UseAdvancedExtensions()).
Definition lists render as <dl> / <dt> / <dd> HTML elements. Inspired by PHP Markdown Extra.
A definition list consists of terms followed by their definitions. Definitions are prefixed with : (colon followed by a space):
Term 1
: Definition of term 1.
Term 2
: Definition of term 2.
: Another definition of term 2.
Definitions can span multiple lines and contain block-level content:
Apple
: A fruit that grows on trees.
Apples come in many varieties including
Granny Smith and Fuji.
Orange
: A citrus fruit.
A fruit that grows on trees.
Apples come in many varieties including Granny Smith and Fuji.
Term A
Term B
: Shared definition for both terms.
<dl>
<dt>Term 1</dt>
<dd>Definition of term 1.</dd>
<dt>Term 2</dt>
<dd>Definition of term 2.</dd>
<dd>Another definition of term 2.</dd>
</dl>
: marker must be followed by at least one space.