rdiscount

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

Github星跟蹤圖

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.

概覽

名稱與所有者davidfstr/rdiscount
主編程語言C
編程語言Ruby (語言數: 4)
平台
許可證Other
發布數30
最新版本名稱2.2.7.3 (發布於 )
第一版名稱1.2.6.2 (發布於 )
創建於2008-05-30 16:54:07
推送於2023-12-31 17:40:35
最后一次提交2023-12-31 12:39:04
星數756
關注者數21
派生數70
提交數272
已啟用問題?
問題數126
打開的問題數1
拉請求數19
打開的拉請求數2
關閉的拉請求數11
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?
去到頂部