13a522525c
Modify Maruku to use Nokogiri instead of REXML. Produces a 3-fold speedup in the #to_html method.
26 lines
730 B
Markdown
26 lines
730 B
Markdown
Write a comment here
|
|
*** Parameters: ***
|
|
require 'maruku/ext/math';{:html_math_engine => 'itex2mml' }
|
|
*** Markdown input: ***
|
|
<table markdown='1'>
|
|
$\alpha$
|
|
<thead>
|
|
<td>$\beta$</td>
|
|
</thead>
|
|
</table>
|
|
*** Output of inspect ***
|
|
md_el(:document,[
|
|
md_html("<table markdown='1'>\n\t$\\alpha$\n\t<thead>\n\t\t<td>$\\beta$</td>\n\t</thead>\n</table>")
|
|
],{},[])
|
|
*** Output of to_html ***
|
|
<table><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline" class="maruku-mathml"><mi>α</mi></math><thead>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline" class="maruku-mathml"><mi>β</mi></math></td>
|
|
</thead>
|
|
</table>
|
|
*** Output of to_latex ***
|
|
|
|
*** Output of to_md ***
|
|
|
|
*** Output of to_s ***
|
|
|