instiki/vendor/plugins/maruku/tests/unittest/syntax_hl.md
Jacques Distler 9b7b6fb805 Latest Maruku and Tweak for itex2MML 1.3.4
Instiki's LaTeX output also supports \Perp.
2008-02-29 01:30:46 -06:00

2.1 KiB

Write a comment abouth the test here. *** Parameters: *** {} *** Markdown input: *** This is ruby code:

require 'maruku'

puts Maruku.new($stdin).to_html

This is ruby code:

require 'maruku'

{: lang=ruby html_use_syntax}

puts Maruku.new($stdin).to_html

*** Output of inspect *** md_el(:document,[ md_par(["This is ruby code:"]), md_el(:code,[],{:raw_code=>"require 'maruku'\n\nputs Maruku.new($stdin).to_html"},[]), md_par(["This is ruby code:"]), md_el(:code,[],{:raw_code=>"require 'maruku'"},"lang", "ruby"], [:ref, "html_use_syntax"), md_el(:code,[],{:raw_code=>"puts Maruku.new($stdin).to_html"},[]) ],{},[]) *** Output of to_html ***

This is ruby code:

require 'maruku'

puts Maruku.new($stdin).to_html

This is ruby code:

require 'maruku'
puts Maruku.new($stdin).to_html

*** Output of to_latex *** This is ruby code:

\begin{verbatim}require 'maruku'

puts Maruku.new($stdin).to_html\end{verbatim} This is ruby code:

\begin{verbatim}require 'maruku'\end{verbatim} \begin{verbatim}puts Maruku.new($stdin).to_html\end{verbatim} *** Output of to_md *** This is ruby code:

This is ruby code: *** Output of to_s *** This is ruby code:This is ruby code: *** EOF ***

OK!

*** Output of Markdown.pl ***

This is ruby code:

require 'maruku'

puts Maruku.new($stdin).to_html

This is ruby code:

require 'maruku'

{: lang=ruby htmlusesyntax}

puts Maruku.new($stdin).to_html

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

This is ruby code:

  
   require 'maruku' puts Maruku.new($stdin).to_html 
  
 

This is ruby code:

  
   require 'maruku' 
  
 

{: lang=ruby html use syntax}

  
   puts Maruku.new($stdin).to_html