Sha256: 34422025d0be5fad063a18ec57881b6f401cae626aa2343547803d0100437b90

Contents?: true

Size: 1.78 KB

Versions: 3

Compression:

Stored size: 1.78 KB

Contents

Write a comment here
*** Parameters: ***
require 'maruku/ext/math';{:html_math_engine => 'itex2mml'}
*** Markdown input: ***

$$ x = y $$

$$ x 
= y $$

$$ 
x = y $$

$$ x = y 
$$

*** Output of inspect ***
md_el(:document,[
	md_el(:equation,[],{:label=>nil,:math=>" x = y ",:num=>nil},[]),
	md_el(:equation,[],{:label=>nil,:math=>" x \n= y \n",:num=>nil},[]),
	md_el(:equation,[],{:label=>nil,:math=>" \nx = y \n",:num=>nil},[]),
	md_el(:equation,[],{:label=>nil,:math=>" x = y \n\n",:num=>nil},[])
],{},[])
*** Output of to_html ***
<div class="maruku-equation"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block" class="maruku-mathml"><semantics><mrow><mi>x</mi><mo>=</mo><mi>y</mi></mrow><annotation encoding="application/x-tex"> x = y </annotation></semantics></math></div><div class="maruku-equation"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block" class="maruku-mathml"><semantics><mrow><mi>x</mi><mo>=</mo><mi>y</mi></mrow><annotation encoding="application/x-tex"> x 
= y 
</annotation></semantics></math></div><div class="maruku-equation"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block" class="maruku-mathml"><semantics><mrow><mi>x</mi><mo>=</mo><mi>y</mi></mrow><annotation encoding="application/x-tex"> 
x = y 
</annotation></semantics></math></div><div class="maruku-equation"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block" class="maruku-mathml"><semantics><mrow><mi>x</mi><mo>=</mo><mi>y</mi></mrow><annotation encoding="application/x-tex"> x = y 

</annotation></semantics></math></div>
*** Output of to_latex ***
\begin{displaymath}
x = y
\end{displaymath}
\begin{displaymath}
x 
= y
\end{displaymath}
\begin{displaymath}
x = y
\end{displaymath}
\begin{displaymath}
x = y
\end{displaymath}
*** Output of to_md ***

*** Output of to_s ***

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maruku-0.7.3 spec/block_docs/math/equations.md
maruku-0.7.2 spec/block_docs/math/equations.md
maruku-0.7.1 spec/block_docs/math/equations.md