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

1.3 KiB

Write a comment abouth the test here. *** Parameters: *** {} *** Markdown input: *** This block is composed of three lines:

one

three

This block is composed of 5

one


four

This block is composed of 2

two

*** Output of inspect *** md_el(:document,[ md_par(["This block is composed of three lines:"]), md_el(:code,[],{:raw_code=>"one\n\nthree"},[]), md_par(["This block is composed of 5"]), md_el(:code,[],{:raw_code=>"one\n\n\nfour"},[]), md_par(["This block is composed of 2"]), md_el(:code,[],{:raw_code=>"two"},[]) ],{},[]) *** Output of to_html ***

This block is composed of three lines:

one

three

This block is composed of 5

one


four

This block is composed of 2

two

*** Output of to_latex *** This block is composed of three lines:

\begin{verbatim}one

three\end{verbatim} This block is composed of 5

\begin{verbatim}one

four\end{verbatim} This block is composed of 2

\begin{verbatim}two\end{verbatim} *** Output of to_md *** This block is composed of three lines:

This block is composed of 5

This block is composed of 2 *** Output of to_s *** This block is composed of three lines:This block is composed of 5This block is composed of 2