Cleaned up some dependencies, and added a mime_types.yml file for Mongrel-compatibility.
3.5 KiB
*** 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=>"\t\alpha\n\n",:num=>1},[]), md_el(:equation,[],{:label=>nil,:math=>"\t\alpha\n\n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" \beta\n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" \gamma ",:num=>nil},[]) ],{},[]) *** Output of to_html ***
\alpha
\alpha
\beta
\gamma
*** Output of to_s ***
*** EOF ***
Failed tests: [:to_html]
*** Output of inspect *** md_el(:document,[ md_el(:equation,[],{:label=>"eq1",:math=>"\t\alpha\n\n",:num=>1},[]), md_el(:equation,[],{:label=>nil,:math=>"\t\alpha\n\n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" \beta\n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" \gamma ",:num=>nil},[]) ],{},[]) *** Output of to_html *** -----| WARNING | -----
\alpha
\alpha
\alpha
\alpha
\beta
\beta
\gamma
\gamma
*** Output of to_s ***
*** Output of Markdown.pl ***
[ \alpha ]
\begin{equation} \alpha \end{equation}
\begin{equation} \beta \end{equation}
\begin{equation} \gamma \end{equation}
*** Output of Markdown.pl (parsed) ***
[ \alpha ]
\begin{equation} \alpha \end{equation}
\begin{equation} \beta \end{equation}
\begin{equation} \gamma \end{equation}