The safe Markdown parser, reloaded, with footnotes.
C Ruby Perl
Pull request Compare This branch is 8 commits ahead, 475 commits behind vmg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
ext/redcarpet
lib
sundown @ 0e7d0cc
test
.gitignore
.gitmodules
.travis.yml
COPYING
Gemfile
Gemfile.lock
README.markdown
Rakefile
redcarpet.gemspec

README.markdown

Fork of Markdown 2 that supports everything it does, plus footnotes.

Footnote-parsing Sundown code grabbed hastily from @bdolman's pull request, which has not yet been accepted into Sundown at the time of writing.

This fork of Redcarpet additionally adds the following callbacks:

# block-level
footnotes(content)
footnote_def(content, footnote_index)

# span-level
footnote_ref(content, footnote_index)