2008-01-08 07:01:35 +01:00
|
|
|
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 ***
|
|
|
|
<p>This is ruby code:</p>
|
|
|
|
|
2011-08-12 03:36:44 +02:00
|
|
|
<pre><code>require 'maruku'
|
2008-01-08 07:01:35 +01:00
|
|
|
|
|
|
|
puts Maruku.new($stdin).to_html</code></pre>
|
|
|
|
|
|
|
|
<p>This is ruby code:</p>
|
|
|
|
|
2011-08-27 09:40:40 +02:00
|
|
|
<pre class="ruby"><code lang="ruby" xml:lang="ruby"><span class="ident">require</span> <span class="punct">'</span><span class="string">maruku</span><span class="punct">'</span></code></pre>
|
2008-01-08 07:01:35 +01:00
|
|
|
|
|
|
|
<pre><code>puts Maruku.new($stdin).to_html</code></pre>
|
|
|
|
*** 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:
|
|
|
|
|
2011-08-21 20:41:20 +02:00
|
|
|
require 'maruku'
|
|
|
|
|
|
|
|
puts Maruku.new($stdin).to_html
|
2011-08-21 09:43:43 +02:00
|
|
|
|
2008-01-08 07:01:35 +01:00
|
|
|
This is ruby code:
|
2011-08-21 09:43:43 +02:00
|
|
|
|
2011-08-21 20:41:20 +02:00
|
|
|
require 'maruku'
|
2011-08-21 09:43:43 +02:00
|
|
|
|
2011-08-21 20:41:20 +02:00
|
|
|
puts Maruku.new($stdin).to_html
|
2008-01-08 07:01:35 +01:00
|
|
|
*** Output of to_s ***
|
|
|
|
This is ruby code:This is ruby code:
|