MarkdownPlus

Definition Lists

Definition lists are supported by HTML, but not by standard Markdown.

Code:

First Term
: This is the definition of 
: the first term.

Second Term:
: This is one definition of the second term.␣␣    // ← 2 blanks for a new line
: This is another definition of the second term.\ // ← back-slash for a new line
  This is a new line within the term.

Output:

First Term

This is the definition of the first term.

Second Term:

This is one definition of the second term.
This is another definition of the second term.
This is a new line within the term.

Rendered HTML

<dl>
  <dt>First Term</dt>
  <dd>
    <p> This is the definition of 
    the first term.</p>
  </dd>

  <dt>Second Term:</dt>
  <dd>
    <p> This is one definition of the second term.<br>
    This is another definition of the second term.<br>
This is a new line within the term.</p> </dd> </dl>

MarkdownPlus