1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
Definition lists - only Maruku and Kramdown support this syntax (and only
Kramdown gets it right.
*** Parameters: ***
{:css=>"style.css"}
*** Markdown input: ***
CSS: style.css
Apple
: Pomaceous fruit of plants of the genus Malus in
the family Rosaceae.
Orange
: The fruit of an evergreen tree of the genus Citrus.
*** Output of inspect ***
md_el(:document,[
md_el(:definition_list,[
md_el(:definition,[
md_el(:definition_term,["Apple"],{},[]),
md_el(:definition_data,[
"Pomaceous fruit of plants of the genus Malus in the family Rosaceae."
],{},[])
],{:definitions=>[md_el(:definition_data,[
"Pomaceous fruit of plants of the genus Malus in the family Rosaceae."
],{},[])],:terms=>[md_el(:definition_term,["Apple"],{},[])],:want_my_paragraph=>false},[]),
md_el(:definition,[
md_el(:definition_term,["Orange"],{},[]),
md_el(:definition_data,["The fruit of an evergreen tree of the genus Citrus."],{},[])
],{:definitions=>[md_el(:definition_data,["The fruit of an evergreen tree of the genus Citrus."],{},[])],:terms=>[md_el(:definition_term,["Orange"],{},[])],:want_my_paragraph=>false},[])
],{},[])
],{},[])
*** Output of to_html ***
<dl>
<dt>Apple</dt>
<dd>Pomaceous fruit of plants of the genus Malus in the family Rosaceae.</dd>
<dt>Orange</dt>
<dd>The fruit of an evergreen tree of the genus Citrus.</dd>
</dl>
*** Output of to_latex ***
\begin{description}
\item[Apple] Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
\item[Orange] The fruit of an evergreen tree of the genus Citrus.
\end{description}
*** Output of to_md ***
ApplePomaceous fruit of plants of the genus Malus in the family Rosaceae.OrangeThe fruit of an evergreen tree of the genus Citrus.
*** Output of to_s ***
ApplePomaceous fruit of plants of the genus Malus in the family Rosaceae.OrangeThe fruit of an evergreen tree of the genus Citrus.
|