rdiscount 0 travis-ci Rubygems

Discount (For Ruby) Implementation of John Gruber's Markdown With Math Support (LaTex, MathJax

Discount Markdown Processor for Ruby

Build Status Build status

Discount is an implementation of John Gruber’s Markdown markup language in C. It implements all of the language described in the markdown syntax document and passes the Markdown 1.0 test suite.

CODE: git clone git://github.com/davidfstr/rdiscount.git
HOME: http://dafoster.net/projects/rdiscount/
DOCS: http://rdoc.info/github/davidfstr/rdiscount/master/RDiscount
BUGS: http://github.com/davidfstr/rdiscount/issues

Discount was developed by David Loren Parsons. The Ruby extension is maintained by David Foster.

INSTALL, HACKING

New releases of RDiscount are published to RubyGems:

$ [sudo] gem install rdiscount

The RDiscount sources are available via Git:

$ git clone git://github.com/davidfstr/rdiscount.git
$ cd rdiscount
$ rake --tasks

See the file BUILDING for hacking instructions.

USAGE

RDiscount implements the basic protocol popularized by RedCloth and adopted by BlueCloth:

require 'rdiscount'
markdown = RDiscount.new("Hello World!")
puts markdown.to_html

Additional processing options can be turned on when creating the RDiscount object:

markdown = RDiscount.new("Hello World!", :smart, :filter_html)

Inject RDiscount into your BlueCloth-using code by replacing your bluecloth require statements with the following:

begin
  require 'rdiscount'
  BlueCloth = RDiscount
rescue LoadError
  require 'bluecloth'
end

COPYING

Discount is free software; it is released under a BSD-style license that allows you to do as you wish with it as long as you don’t attempt to claim it as your own work. RDiscount adopts Discount’s license verbatim. See the file COPYING for more information.

Related Repositories

rdiscount

rdiscount

Discount (For Ruby) Implementation of John Gruber's Markdown ...

sinatra-rdiscount

sinatra-rdiscount

Extension providing RDiscount templates for Sinatra apps. ...

git-wiki

git-wiki

tiny wiki server using rack, rdiscount and bare git. ...

rdiscount

rdiscount

Discount (For Ruby) Implementation of John Gruber's Markdown ...

rdiscount

rdiscount

Discount (For Ruby) Implementation of John Gruber's Markdown ...


Top Contributors

rtomayko davidfstr js pixeltrix drothlis shirosaki orangejulius maciejtrybilo nono anatol tmm1 chriseppstein chrisk comargo geoffgarside vertiginous keolo leereilly rcrowley timfel technoweenie

Releases

-   2.1.7.1 zip tar
-   2.1.7 zip tar
-   2.1.6 zip tar
-   2.0.7.3 zip tar
-   2.0.7.2 zip tar
-   2.0.7.1 zip tar
-   2.0.7 zip tar
-   1.6.8 zip tar
-   1.6.5 zip tar
-   1.6.3.2 zip tar
-   1.6.3.1 zip tar
-   1.5.8.1 zip tar
-   1.5.8 zip tar
-   1.5.5 zip tar
-   1.3.5 zip tar
-   1.3.4 zip tar
-   1.3.1.1 zip tar
-   1.3.1 zip tar
-   1.2.11 zip tar
-   1.2.10 zip tar
-   1.2.7 zip tar
-   1.2.6.2 zip tar