Skip to content

kramdown-math-ritex uses ritex to convert math elements to MathML

License

Notifications You must be signed in to change notification settings

kramdown/math-ritex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important: This repo and gem are unmaintained! If you are interested in maintaining, please contact me at [email protected].

kramdown math engine for conversion to MathML

This is a converter for kramdown that uses ritex 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-ritex

Usage

require 'kramdown'
require 'kramdown-math-ritex'

Kramdown::Document.new(text, math_engine: :ritex).to_html

Documentation

To use Ritex, set the option math_engine to 'ritex' and make sure that Ritex is available. The Ritex library can be installed, e.g., via Rubygems by running gem install ritex.

Note that Ritex is released under the GNU GPL version 2 which means that when you use it in conjunction with kramdown and your application, your application will automatically also fall under the GNU GPL!

If this is a problem for you, consider using the itex2MML math engine instead!

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.

About

kramdown-math-ritex uses ritex to convert math elements to MathML

Resources

License

Stars

Watchers

Forks

Packages

No packages published