Configure equation-numbering as we like it.

This commit is contained in:
Jacques Distler 2007-02-14 22:19:37 -06:00
parent ff63e894b2
commit fc15848517

View file

@ -44,7 +44,7 @@ module Engines
def mask
require_dependency 'maruku'
require_dependency 'maruku/ext/math'
Maruku.new(@content.delete("\r"), {:math_enabled => true}).to_html
Maruku.new(@content.delete("\r"), {:math_enabled => true, :math_numbered => ['\\[','\\begin{equation}']}).to_html
end
end