# Description List Spec Based on ----- Description lists are made of terms and descriptions of these terms, much like in a dictionary. A simple description list is made of a single-line term followed by a colon and the description for that term. ```````````````````````````````` example Apple : Pomaceous fruit of plants of the genus Malus in the family Rosaceae. Orange : The fruit of an evergreen tree of the genus Citrus. .
Apple
Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
Orange
The fruit of an evergreen tree of the genus Citrus.
```````````````````````````````` Terms must be separated from the previous description by a blank line. Descriptions can span on multiple lines, in which case they should be indented. But you don’t really have to: if you want to be lazy, you could forget to indent a description that span on multiple lines and it will still work: ```````````````````````````````` example Apple : Pomaceous fruit of plants of the genus Malus in the family Rosaceae. Orange : The fruit of an evergreen tree of the genus Citrus. .
Apple
Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
Orange
The fruit of an evergreen tree of the genus Citrus.
```````````````````````````````` Colons as description markers typically start at the left margin, but may be indented by up to three spaces: ```````````````````````````````` example No Spaces : Okay One Space : Okay Two Spaces : Okay Three Spaces : Okay Four Spaces : NOT OKAY .
No Spaces
Okay
One Space
Okay
Two Spaces
Okay
Three Spaces
Okay

Four Spaces : NOT OKAY

```````````````````````````````` The number of spaces can vary between consecutive descriptions, so long as they don't exceed three spaces of indentation. ```````````````````````````````` example No Spaces : Okay (0) : Okay (1) : Okay (2) : Okay (3) : NOT OKAY One Space : Okay (1) : Okay (0) : Okay (1) : Okay (2) : Okay (3) : NOT OKAY Two Spaces : Okay (2) : Okay (1) : Okay (0) : Okay (1) : Okay (2) : Okay (3) : NOT OKAY Three Spaces : Okay (3) : Okay (2) : Okay (1) : Okay (0) : Okay (2) : Okay (3) : Okay (4) : NOT OKAY Four Spaces : NOT OKAY : Okay (3) : Okay (2) : Okay (1) : Okay (0) : Okay (1) : Okay (2) : Okay (3) : NOT OKAY .
No Spaces
Okay (0)
Okay (1)
Okay (2)
Okay (3) : NOT OKAY
One Space
Okay (1)
Okay (0)
Okay (1)
Okay (2)
Okay (3) : NOT OKAY
Two Spaces
Okay (2)
Okay (1)
Okay (0)
Okay (1)
Okay (2)
Okay (3) : NOT OKAY
Three Spaces
Okay (3)
Okay (2)
Okay (1)
Okay (0)
Okay (2)
Okay (3)
Okay (4) : NOT OKAY
Four Spaces
: NOT OKAY
Okay (3)
Okay (2)
Okay (1)
Okay (0)
Okay (1)
Okay (2)
Okay (3) : NOT OKAY
```````````````````````````````` Description markers must be the first non-space character on a line: ```````````````````````````````` example Not Valid Because: there are other characters before the `:` on this line .

Not Valid Because: there are other characters before the : on this line

```````````````````````````````` Description markers must be followed by one or more spaces or a tab: ```````````````````````````````` example Not Valid :because there's no space or tab after the `:` .

Not Valid :because there's no space or tab after the :

```````````````````````````````` Description lists can have more than one description associated with one term: ```````````````````````````````` example Apple : Pomaceous fruit of plants of the genus Malus in the family Rosaceae. : An American computer company. Orange : The fruit of an evergreen tree of the genus Citrus. .
Apple
Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
An American computer company.
Orange
The fruit of an evergreen tree of the genus Citrus.
```````````````````````````````` You can also associate more than one term to a description: ```````````````````````````````` example Term 1 Term 2 : Description a Term 3 : Description b .
Term 1
Term 2
Description a
Term 3
Description b
```````````````````````````````` If a description is preceded by a blank line, the description will be wrapped in `

` tags in the HTML output: ```````````````````````````````` example Apple : Pomaceous fruit of plants of the genus Malus in the family Rosaceae. Orange : The fruit of an evergreen tree of the genus Citrus. .

Apple

Pomaceous fruit of plants of the genus Malus in the family Rosaceae.

Orange
The fruit of an evergreen tree of the genus Citrus.
```````````````````````````````` When multiple descriptions are given, the tightness of each can vary based on whether there's a blank line preceding each one: ```````````````````````````````` example Apple : Pomaceous fruit of plants of the genus Malus in the family Rosaceae. : An American computer company. Orange : The fruit of an evergreen tree of the genus Citrus. : The color between yellow and red on the spectrum of visible light. .
Apple
Pomaceous fruit of plants of the genus Malus in the family Rosaceae.

An American computer company.

Orange

The fruit of an evergreen tree of the genus Citrus.

The color between yellow and red on the spectrum of visible light.
```````````````````````````````` Multiple terms for a single definition must not be separated by spaces: ```````````````````````````````` example This is a term This is also a term : Description goes here This is a term This is also a term : Description goes here This is a paragraph This is a term : Description goes here .
This is a term
This is also a term
Description goes here
This is a term
This is also a term

Description goes here

This is a paragraph

This is a term

Description goes here

```````````````````````````````` Just like regular list items, descriptions can contain multiple paragraphs, and include other block-level elements such as blockquotes, code blocks, lists, and even other description lists. ```````````````````````````````` example Term 1 : This is a description with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. : Second description for term 1, also wrapped in a paragraph because of the blank line preceding it. Term 2 : This description has a code block, a blockquote, two lists, and a short paragraph. code block. > block quote > on two lines. 1. first list item 2. second list item Nested Term : A nested definition A short paragraph. .
Term 1

This is a description with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.

Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.

Second description for term 1, also wrapped in a paragraph because of the blank line preceding it.

Term 2

This description has a code block, a blockquote, two lists, and a short paragraph.

code block.

block quote on two lines.

  1. first list item
  2. second list item
Nested Term
A nested definition

A short paragraph.

```````````````````````````````` And terms can contain inline-level elements, like emphasis and links: ```````````````````````````````` example The **Big Apple** : Another name for New York City [Orange County](https://en.wikipedia.org/wiki/Orange_County,_California) : The third-most populous county in California; home to Disneyland .
The Big Apple

Another name for New York City

Orange County

The third-most populous county in California; home to Disneyland

```````````````````````````````` Description lists will not be parsed if no preceding terms exist. Note that terms cannot contain block elements. ```````````````````````````````` example : No terms before this one # This is a heading, not a term : So this doesn't count either .

: No terms before this one

This is a heading, not a term

: So this doesn't count either

```````````````````````````````` Descriptions cannot be blank: ```````````````````````````````` example The description below is blank : We treat that as a paragraph .

The description below is blank

:

We treat that as a paragraph

````````````````````````````````