Sha256: 0bc6ed40b024b6e80f5f7d7e772f0f0b59e694dd85393002e1919a91800d0aa4

Contents?: true

Size: 1.34 KB

Versions: 5

Compression:

Stored size: 1.34 KB

Contents

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", :lang=>nil},[]),
	md_par(["This is not code"]),
	md_el(:code,[],{:raw_code=>"Code", :lang=>nil},[]),
	md_par(["This is code (1 tab):"]),
	md_el(:code,[],{:raw_code=>"Code", :lang=>nil},[]),
	md_par(["This is not code"]),
	md_el(:code,[],{:raw_code=>"Code", :lang=>nil},[])
],{},[])
*** Output of to_html ***
<p>This is code (4 spaces):</p>

<pre><code>Code</code></pre>

<p>This is not code</p>

<pre><code>Code</code></pre>

<p>This is code (1 tab):</p>

<pre><code>Code</code></pre>

<p>This is not code</p>

<pre><code>Code</code></pre>
*** 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):

     Code

This is not code

     Code

This is code (1 tab):

     Code

This is not code

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
maruku-0.7.3 spec/block_docs/code3.md
maruku-0.7.2 spec/block_docs/code3.md
maruku-0.7.1 spec/block_docs/code3.md
maruku-0.7.0 spec/block_docs/code3.md
maruku-0.7.0.beta1 spec/block_docs/code3.md