github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

rtomayko / rpeg-markdown

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 24
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (4)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (4)
    • 1.4.4
    • 1.4.3
    • 1.1.1
    • 1.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Fast Ruby Markdown library based on a PEG grammar (see peg-markdown) — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

1.4.6 release 
rtomayko (author)
Fri Jan 15 06:57:40 -0800 2010
commit  570a8acb6b14008e3e04f0464607c67d5ce082e8
tree    da020d53be035e05b5c5498af4badb3d18eebf93
parent  3c2da162e5eb26c345e9c64ffbc19a2d45eb9408
rpeg-markdown /
name age
history
message
file .gitignore Fri Aug 01 21:11:35 -0700 2008 ignore stuff [rtomayko]
file .gitmodules Fri Aug 01 21:02:56 -0700 2008 point peg-markdown submodule at jgm's master [rtomayko]
file LICENSE Tue May 20 11:35:55 -0700 2008 initial commit of skeleton extension project T... [rtomayko]
file README.markdown Fri Aug 08 15:27:28 -0700 2008 Added to_latex and to_groff_mm methods to PEGMa... [jgm]
file Rakefile Fri Jan 15 06:57:40 -0800 2010 1.4.6 release [rtomayko]
directory bin/ Wed May 21 00:50:49 -0700 2008 first working version of extension with tests [rtomayko]
directory ext/ Fri Jan 15 06:55:54 -0800 2010 bring peg-markdown up to 0.4.6 [rtomayko]
directory lib/ Fri Aug 01 23:21:26 -0700 2008 Version 1.0 [rtomayko]
submodule peg-markdown - a20bd44 Fri Jan 15 06:55:54 -0800 2010 bring peg-markdown up to 0.4.6 [rtomayko]
directory test/ Fri Aug 01 23:08:06 -0700 2008 filter_html/filter_styles support; extension/cl... [rtomayko]
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

  • Version 1.0

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.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server