File: to_html.rb [maruku-0.6.1 Documentation]

Last Modified
  2014-02-08 23:21:13 +0000
Requires

## Description

Extension: math Attribute: html_math_engine Scope: document, element Output: html Summary: Select the rendering engine for MathML. Default: <?mrk Globals.to_s ?>

Select the rendering engine for math.

If you want to use your custom engine `foo`, then set:

    HTML math engine: foo

{:lang=markdown}

and then implement two functions:

    def convert_to_mathml_foo(kind, tex)
            ...
    end

Extension: math Attribute: html_png_engine Scope: document, element Output: html Summary: Select the rendering engine for math. Default: <?mrk Globals.to_s ?>

Same thing as `html_math_engine`, only for PNG output.

    def convert_to_png_foo(kind, tex)
            # same thing
            ...
    end

{:lang=ruby}