Important: This repo and gem are unmaintained! If you are interested in maintaining, please contact me at t_leitner@gmx.at.
kramdown math engine for conversion to MathML
This is a converter for kramdown that uses itex2mml to convert math formulas to MathML.
Note: Until kramdown version 2.0.0 this math engine was part of the kramdown distribution.
Installation
gem install kramdown-math-itex2mml
Usage
require 'kramdown'
require 'kramdown-math-itex2mml'
Kramdown::Document.new(text, math_engine: :itex2mml).to_html
Development
Clone the git repository and you are good to go. You probably want to install
rake
so that you can use the provided rake tasks.
License
MIT - see the COPYING file.