Sha256: 0ff5b61eb7b36aca2d06d9d3cf0dd59496b387f9ee403f6843c118b70a1eb8df

Contents?: true

Size: 1.85 KB

Versions: 5

Compression:

Stored size: 1.85 KB

Contents

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.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
maruku-0.7.3 spec/block_docs/extra_dl.md
maruku-0.7.2 spec/block_docs/extra_dl.md
maruku-0.7.1 spec/block_docs/extra_dl.md
maruku-0.7.0 spec/block_docs/extra_dl.md
maruku-0.7.0.beta1 spec/block_docs/extra_dl.md