add asc and adoc extensions to asciidoc recognized extensions
Scott Chacon schacon@gmail.com
Wed, 23 Mar 2011 11:08:08 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
lib/github/markups.rb
→
lib/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.