instiki/vendor/plugins/maruku/spec/block_docs/paragraph_rules/dont_merge_ref.md
Jacques Distler 13a522525c REXML is dead. Long live Nokogiri.
Modify Maruku to use Nokogiri instead of REXML.
Produces a 3-fold speedup in the #to_html method.
2011-08-11 20:36:44 -05:00

43 lines
677 B
Markdown

Paragraphs eats everything, but not link definitions.
*** Parameters: ***
{}
*** Markdown input: ***
Paragraph
[google1]: #
Paragraph
[google2]: #
Paragraph
[google3]: #
*** Output of inspect ***
md_el(:document,[
md_par(["Paragraph"]),
md_ref_def("google1", "#", {:title=>nil}),
md_par(["Paragraph"]),
md_ref_def("google2", "#", {:title=>nil}),
md_par(["Paragraph"]),
md_ref_def("google3", "#", {:title=>nil})
],{},[])
*** Output of to_html ***
<p>Paragraph</p>
<p>Paragraph</p>
<p>Paragraph</p>
*** Output of to_latex ***
Paragraph
Paragraph
Paragraph
*** Output of to_md ***
Paragraph
Paragraph
Paragraph
*** Output of to_s ***
ParagraphParagraphParagraph