instiki/vendor/plugins/maruku/tests/unittest/code3.md
Jacques Distler 38ae064b8a Bundle Latest REXML
Sam Ruby has been doing a bang-up job fixing the bugs in REXML.
Who knows when these improvements will trickle down to vendor distributions of Ruby.
In the meantime, let's bundle the latest version of REXML with Instiki.
We check the version number of the bundled REXML against that of the System REXML, and use whichever is later.
2008-01-11 23:53:29 -06:00

1.9 KiB

Write a comment abouth the test here. *** Parameters: *** {} *** Markdown input: ***

This is code (4 spaces):

Code

This is not code

Code

This is code (1 tab):

Code

This is not code

Code

*** Output of inspect *** md_el(:document,[ md_par(["This is code (4 spaces):"]), md_el(:code,[],{:raw_code=>"Code"},[]), md_par(["This is not code"]), md_el(:code,[],{:raw_code=>"Code"},[]), md_par(["This is code (1 tab):"]), md_el(:code,[],{:raw_code=>"Code"},[]), md_par(["This is not code"]), md_el(:code,[],{:raw_code=>"Code"},[]) ],{},[]) *** Output of to_html ***

This is code (4 spaces):

Code

This is not code

Code

This is code (1 tab):

Code

This is not code

Code

*** Output of to_latex *** This is code (4 spaces):

\begin{verbatim}Code\end{verbatim} This is not code

\begin{verbatim}Code\end{verbatim} This is code (1 tab):

\begin{verbatim}Code\end{verbatim} This is not code

\begin{verbatim}Code\end{verbatim} *** Output of to_md *** This is code (4 spaces):

This is not code

This is code (1 tab):

This is not code *** Output of to_s *** This is code (4 spaces):This is not codeThis is code (1 tab):This is not code *** EOF ***

OK!

*** Output of Markdown.pl ***

This is code (4 spaces):

Code

This is not code

Code

This is code (1 tab):

Code

This is not code

Code

*** Output of Markdown.pl (parsed) ***

This is code (4 spaces):

  
   Code 
  
 

This is not code

  
   Code 
  
 

This is code (1 tab):

  
   Code 
  
 

This is not code

  
   Code