Sha256: e0b51330338cf5e78ebbddd4ffc7e5e654096781e47a8bbcd73e30bf7f00eab1

Contents?: true

Size: 1.58 KB

Versions: 11

Compression:

Stored size: 1.58 KB

Contents

= kramdown

kramdown is yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition and
supporting several common extensions. The syntax definition for the kramdown syntax can be found in
doc/syntax.page and a quick reference is available in doc/quickref.page.

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:

* input formats: kramdown (a Markdown superset), Markdown, HTML
* output formats: HTML, kramdown, LaTeX (and therefore PDF)

All the documentation on the available input and output formats is available in the doc/ directory
and online at http://kramdown.rubyforge.org.


== Usage

kramdown has a basic *Cloth API, so using kramdown is as easy as

    require 'kramdown'

    Kramdown::Document.new(text).to_html

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

The full API documentation is available at http://kramdown.rubyforge.org/rdoc/, other sites with an
API documentation for kramdown probably don't provide the complete documentation!


== Development

Just clone the git repository as described in doc/installation.page and you are good to go. You
probably want to install `rake` so that you can use the provided rake tasks. Aside from that:

* The +tidy+ binary needs to be installed for the automatically derived tests to work.
* The +latex+ binary needs to be installed for the latex-compilation tests to work.


== License

GPLv3 - see the COPYING file.

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
kramdown-0.13.7 README
bean-kramdown-0.13.5 README
kramdown-0.13.6 README
kramdown-0.13.5 README
gitdown-0.0.2 README
gitdown-0.0.1 README
kramdown-0.13.4 README
vanity-1.7.1 vendor/ruby/1.9.1/gems/kramdown-0.13.3/README
kramdown-0.13.3 README
kramdown-0.13.2 README
kramdown-0.13.1 README