This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Aug 01 21:11:35 -0700 2008 | |
| |
.gitmodules | Fri Aug 01 21:02:56 -0700 2008 | |
| |
LICENSE | Tue May 20 11:35:55 -0700 2008 | |
| |
README.markdown | Fri Aug 08 15:27:28 -0700 2008 | |
| |
Rakefile | Sun Feb 08 21:07:12 -0800 2009 | |
| |
bin/ | Wed May 21 00:50:49 -0700 2008 | |
| |
ext/ | Sun Feb 08 21:07:12 -0800 2009 | |
| |
lib/ | Fri Aug 01 23:21:26 -0700 2008 | |
| |
peg-markdown - 013232b | Sun Feb 08 21:07:12 -0800 2009 | |
| |
test/ | Fri Aug 01 23:08:06 -0700 2008 |
README.markdown
Ruby PEG Markdown
An extension library around John MacFarlane's fast implementation of Markdown in C.
Synopsis
>> require 'markdown'
>> puts Markdown.new('Hello, world.').to_html
<p>Hello, world.</p>
>> puts Markdown.new('_Hello World!_', :smart, :filter_html).to_html
<p><em>Hello World!</em></p>
>> puts Markdown.new('_Hello World!_').to_latex
\emph{Hello World!}
>> puts Markdown.new('_Hello World!_').to_groff_mm
.P
\fIHello world!\fR
>> PEGMarkdown.new('Hello! World!')
Installation / Hacking
This library requires a recent version of glib2. All modern GNU userland systems should be fine.
Install from GEM:
$ sudo gem install rpeg-markdown
Hacking:
$ git clone git://github.com/rtomayko/rpeg-markdown.git
$ cd rpeg-markdown
$ rake test
Patches happily accepted via fork or email.
Changes
COPYING
The peg-markdown sources are licensed under the GPL and the Ruby PEG Markdown extension sources adopts this license. See the file LICENSE included with this distribution for more information.







