instiki/vendor/plugins/maruku/spec/block_docs/references/long_example.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

3.4 KiB
Raw Blame History

Taken from the syntax document *** Parameters: *** {} *** Markdown input: ***

filters -- including [Setext] 1, [atx] 2, [Textile] 3, [reStructuredText] 4, [Grutatext] 5, and [EtText] 6 -- the single biggest source of inspiration for Markdown's syntax is the format of plain text email.

To this end, Markdown's syntax is comprised entirely of punctuation *** Output of inspect *** md_el(:document,[ md_par([ "filters ", md_entity("ndash"), " including ", md_link(["Setext"],"1"), ", ", md_link(["atx"],"2"), ", ", md_link(["Textile"],"3"), ", ", md_link(["reStructuredText"],"4"), ", ", md_link(["Grutatext"],"5"), ", and ", md_link(["EtText"],"6"), " ", md_entity("ndash"), " the single biggest source of inspiration for Markdown", md_entity("rsquo"), "s syntax is the format of plain text email." ]), md_ref_def("1", "http://docutils.sourceforge.net/mirror/setext.html", {:title=>nil}), md_ref_def("2", "http://www.aaronsw.com/2002/atx/", {:title=>nil}), md_ref_def("3", "http://textism.com/tools/textile/", {:title=>nil}), md_ref_def("4", "http://docutils.sourceforge.net/rst.html", {:title=>nil}), md_ref_def("5", "http://www.triptico.com/software/grutatxt.html", {:title=>nil}), md_ref_def("6", "http://ettext.taint.org/doc/", {:title=>nil}), md_par([ "To this end, Markdown", md_entity("rsquo"), "s syntax is comprised entirely of punctuation" ]) ],{},[]) *** Output of to_html ***

filters including Setext, atx, Textile, reStructuredText, Grutatext, and EtText the single biggest source of inspiration for Markdowns syntax is the format of plain text email.

To this end, Markdowns syntax is comprised entirely of punctuation

*** Output of to_latex *** filters --{} including \href{http://docutils.sourceforge.net/mirror/setext.html}{Setext}, \href{http://www.aaronsw.com/2002/atx/}{atx}, \href{http://textism.com/tools/textile/}{Textile}, \href{http://docutils.sourceforge.net/rst.html}{reStructuredText}, \href{http://www.triptico.com/software/grutatxt.html}{Grutatext}, and \href{http://ettext.taint.org/doc/}{EtText} --{} the single biggest source of inspiration for Markdown'{}s syntax is the format of plain text email.

To this end, Markdown'{}s syntax is comprised entirely of punctuation *** Output of to_md *** filters including Setext, atx, Textile, reStructuredText, Grutatext, and EtText the single biggest source of inspiration for Markdown s syntax is the format of plain text email.

To this end, Markdown s syntax is comprised entirely of punctuation *** Output of to_s *** filters including Setext, atx, Textile, reStructuredText, Grutatext, and EtText the single biggest source of inspiration for Markdowns syntax is the format of plain text email.To this end, Markdowns syntax is comprised entirely of punctuation