instiki/vendor/plugins/maruku/tests/unittest/attributes/default.md

45 lines
709 B
Markdown
Raw Normal View History

This shows the use of default attributes list.
*** Parameters: ***
{}
*** Markdown input: ***
Paragraph2
{#2}
{paragraph}: .maruku-par
*** Output of inspect ***
md_el(:document,[
md_par(["Paragraph2"], [[:id, "2"]]),
md_el(:ald,[],{:ald=>[[:class, "maruku-par"]],:ald_id=>"paragraph"},[])
],{},[])
*** Output of to_html ***
<p class='maruku-par' id='2'>Paragraph2</p>
*** Output of to_latex ***
Paragraph2
*** Output of to_md ***
Paragraph2
*** Output of to_s ***
Paragraph2
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>Paragraph2
{#2}</p>
<p>{paragraph}: .maruku-par</p>
*** Output of Markdown.pl (parsed) ***
<div>
<p>
Paragraph2 {#2}
</p>
<p>
{paragraph}: .maruku-par
</p>
</div>