Sha256: 8b59185db2591e95533a3211ca41d420d94af3002d59fb87bddc4986bbf43611
Contents?: true
Size: 1.86 KB
Versions: 3
Compression:
Stored size: 1.86 KB
Contents
*** Parameters: *** require 'maruku/ext/math' {:math_numbered => ['\\['], :html_math_engine => 'itex2mml' } *** Markdown input: *** \[ \alpha \] \begin{equation} \alpha \end{equation} \begin{equation} \beta \end{equation} \begin{equation} \gamma \end{equation} *** Output of inspect *** md_el(:document,[ md_el(:equation,[],{:label=>"eq1",:math=>"\n\t\\alpha\n\n",:num=>1},[]), md_el(:equation,[],{:label=>nil,:math=>"\n\t\\alpha\n\n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" \\beta\n\n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" \\gamma ",:num=>nil},[]) ],{},[]) *** Output of to_html *** <div class="maruku-equation" id="eq:eq1"><span class="maruku-eq-number">(1)</span><math xmlns="http://www.w3.org/1998/Math/MathML" display="block" class="maruku-mathml"><semantics><mrow><mi>α</mi></mrow><annotation encoding="application/x-tex"> \alpha </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>α</mi></mrow><annotation encoding="application/x-tex"> \alpha </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>β</mi></mrow><annotation encoding="application/x-tex"> \beta </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>γ</mi></mrow><annotation encoding="application/x-tex"> \gamma </annotation></semantics></math></div> *** Output of to_latex *** \begin{equation} \alpha \label{eq1}\end{equation} \begin{displaymath} \alpha \end{displaymath} \begin{displaymath} \beta \end{displaymath} \begin{displaymath} \gamma \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/math2.md |
maruku-0.7.2 | spec/block_docs/math/math2.md |
maruku-0.7.1 | spec/block_docs/math/math2.md |