Configure equation-numbering as we like it.
This commit is contained in:
parent
ff63e894b2
commit
fc15848517
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ module Engines
|
||||||
def mask
|
def mask
|
||||||
require_dependency 'maruku'
|
require_dependency 'maruku'
|
||||||
require_dependency 'maruku/ext/math'
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue