Permalink
Browse files

add asc and adoc extensions to asciidoc recognized extensions

  • Loading branch information...
1 parent e6f5f32 commit 0fc0c66e3fc44f2b321d5485bd39682bf4555e21 @schacon committed Mar 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/github/markups.rb
View
@@ -24,7 +24,7 @@
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.

0 comments on commit 0fc0c66

Please sign in to comment.