2008-01-08 07:01:35 +01:00
|
|
|
|
|
|
|
*** Parameters: ***
|
|
|
|
require 'maruku/ext/math'; {}
|
|
|
|
*** Markdown input: ***
|
|
|
|
Here are some formulas:
|
|
|
|
|
|
|
|
* $\alpha$
|
|
|
|
* $x^{n}+y^{n} \neq z^{n}$
|
|
|
|
|
|
|
|
That's it, nothing else is supported.
|
|
|
|
|
|
|
|
*** Output of inspect ***
|
|
|
|
md_el(:document,[
|
|
|
|
md_par(["Here are some formulas:"]),
|
|
|
|
md_el(:ul,[
|
|
|
|
md_el(:li_span,[md_el(:inline_math,[],{:math=>"\\alpha"},[])],{:want_my_paragraph=>false},[]),
|
|
|
|
md_el(:li_span,[md_el(:inline_math,[],{:math=>"x^{n}+y^{n} \\neq z^{n}"},[])],{:want_my_paragraph=>false},[])
|
|
|
|
],{},[]),
|
|
|
|
md_par(["That", md_entity("rsquo"), "s it, nothing else is supported."])
|
|
|
|
],{},[])
|
|
|
|
*** Output of to_html ***
|
|
|
|
<p>Here are some formulas:</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><span class='maruku-inline'><code class='maruku-mathml'>\alpha</code></span></li>
|
|
|
|
|
|
|
|
<li><span class='maruku-inline'><code class='maruku-mathml'>x^{n}+y^{n} \neq z^{n}</code></span></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p>That’s it, nothing else is supported.</p>
|
|
|
|
*** Output of to_latex ***
|
|
|
|
Here are some formulas:
|
|
|
|
|
|
|
|
\begin{itemize}%
|
|
|
|
\item $\alpha$
|
|
|
|
\item $x^{n}+y^{n} \neq z^{n}$
|
|
|
|
|
|
|
|
\end{itemize}
|
|
|
|
That'{}s it, nothing else is supported.
|
|
|
|
*** Output of to_md ***
|
|
|
|
Here are some formulas:
|
|
|
|
|
|
|
|
--
|
|
|
|
That s it, nothing else is supported.
|
|
|
|
*** Output of to_s ***
|
|
|
|
Here are some formulas:Thats it, nothing else is supported.
|
|
|
|
*** EOF ***
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Failed tests: [:to_html]
|
|
|
|
|
|
|
|
*** Output of inspect ***
|
|
|
|
md_el(:document,[
|
|
|
|
md_par(["Here are some formulas:"]),
|
|
|
|
md_el(:ul,[
|
|
|
|
md_el(:li_span,[md_el(:inline_math,[],{:math=>"\\alpha"},[])],{:want_my_paragraph=>false},[]),
|
|
|
|
md_el(:li_span,[md_el(:inline_math,[],{:math=>"x^{n}+y^{n} \\neq z^{n}"},[])],{:want_my_paragraph=>false},[])
|
|
|
|
],{},[]),
|
|
|
|
md_par(["That", md_entity("rsquo"), "s it, nothing else is supported."])
|
|
|
|
],{},[])
|
|
|
|
*** Output of to_html ***
|
|
|
|
-----| WARNING | -----
|
|
|
|
<p>Here are some formulas:</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><span class='maruku-inline'><math class='maruku-mathml' display='inline' xmlns='http://www.w3.org/1998/Math/MathML'><mi>α</mi></math></span></li>
|
|
|
|
|
|
|
|
<li><span class='maruku-inline'><math class='maruku-mathml' display='inline' xmlns='http://www.w3.org/1998/Math/MathML'><msup><mi>x</mi> <mi>n</mi></msup><mo>+</mo><msup><mi>y</mi> <mi>n</mi></msup><mo>≠</mo><msup><mi>z</mi> <mi>n</mi></msup></math></span></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p>That’s it, nothing else is supported.</p>
|
|
|
|
*** Output of to_latex ***
|
|
|
|
Here are some formulas:
|
|
|
|
|
|
|
|
\begin{itemize}%
|
|
|
|
\item $\alpha$
|
|
|
|
\item $x^{n}+y^{n} \neq z^{n}$
|
|
|
|
|
|
|
|
\end{itemize}
|
|
|
|
That'{}s it, nothing else is supported.
|
|
|
|
*** Output of to_md ***
|
|
|
|
Here are some formulas:
|
|
|
|
|
|
|
|
--
|
|
|
|
That s it, nothing else is supported.
|
|
|
|
*** Output of to_s ***
|
|
|
|
Here are some formulas:Thats it, nothing else is supported.
|
|
|
|
*** Output of Markdown.pl ***
|
|
|
|
<p>Here are some formulas:</p>
|
|
|
|
|
|
|
|
<ul>
|
2008-01-12 06:53:29 +01:00
|
|
|
<li><math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mi>α</mi></math></li>
|
|
|
|
<li><math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><msup><mi>x</mi> <mi>n</mi></msup><mo>+</mo><msup><mi>y</mi> <mi>n</mi></msup><mo>≠</mo><msup><mi>z</mi> <mi>n</mi></msup></math></li>
|
2008-01-08 07:01:35 +01:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p>That's it, nothing else is supported.</p>
|
|
|
|
|
|
|
|
*** Output of Markdown.pl (parsed) ***
|
2008-01-12 06:53:29 +01:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Here are some formulas:
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
|
|
|
|
<mi>
|
|
|
|
α
|
|
|
|
</mi>
|
|
|
|
</math>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
|
|
|
|
<msup>
|
|
|
|
<mi>
|
|
|
|
x
|
|
|
|
</mi>
|
|
|
|
<mi>
|
|
|
|
n
|
|
|
|
</mi>
|
|
|
|
</msup>
|
|
|
|
<mo>
|
|
|
|
+
|
|
|
|
</mo>
|
|
|
|
<msup>
|
|
|
|
<mi>
|
|
|
|
y
|
|
|
|
</mi>
|
|
|
|
<mi>
|
|
|
|
n
|
|
|
|
</mi>
|
|
|
|
</msup>
|
|
|
|
<mo>
|
|
|
|
≠
|
|
|
|
</mo>
|
|
|
|
<msup>
|
|
|
|
<mi>
|
|
|
|
z
|
|
|
|
</mi>
|
|
|
|
<mi>
|
|
|
|
n
|
|
|
|
</mi>
|
|
|
|
</msup>
|
|
|
|
</math>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<p>
|
|
|
|
That's it, nothing else is supported.
|
|
|
|
</p>
|
|
|
|
</div>
|