instiki/vendor/plugins/maruku/spec/block_docs/math/equations.md
Jacques Distler 13a522525c REXML is dead. Long live Nokogiri.
Modify Maruku to use Nokogiri instead of REXML.
Produces a 3-fold speedup in the #to_html method.
2011-08-11 20:36:44 -05:00

1.3 KiB

Write a comment here *** Parameters: *** require 'maruku/ext/math';{} *** 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 = y \n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" x = y \n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" x = y \n",:num=>nil},[]) ],{},[]) *** Output of to_html ***

x = y x = y
x = y x = y
x = y x = y
x = y x = y
*** 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 ***