kramdown is fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.

The kramdown library is mainly written to support the kramdown-to-HTML conversion chain. However, due to its flexibility it supports other input and output formats as well. Here is a list of the supported formats:

All the documentation on the available input and output formats is available at


kramdown has a simple API, so using kramdown is as easy as

require 'kramdown'

For detailed information have a look at the Kramdown::Document class.


MIT - see the COPYING file.