all repos — markup @ 0fc0c66e3fc44f2b321d5485bd39682bf4555e21

The code we use to render README.your_favorite_markup

add asc and adoc extensions to asciidoc recognized extensions
Scott Chacon schacon@gmail.com
Wed, 23 Mar 2011 11:08:08 -0700
commit

0fc0c66e3fc44f2b321d5485bd39682bf4555e21

parent

e6f5f32cfb13f3026967444a3e7de82b6617d844

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M lib/github/markups.rblib/github/markups.rb

@@ -24,7 +24,7 @@ end

command(:rest2html, /re?st(\.txt)?/) -command('asciidoc -s --backend=xhtml11 -o - -', /asciidoc/) +command('asciidoc -s --backend=xhtml11 -o - -', /asc|adoc|asciidoc/) # pod2html is nice enough to generate a full-on HTML document for us, # so we return the favor by ripping out the good parts.