Skip to content

Commit

Permalink
add asc and adoc extensions to asciidoc recognized extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
schacon committed Mar 23, 2011
1 parent e6f5f32 commit 0fc0c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github/markups.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


command(:rest2html, /re?st(\.txt)?/) 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, # pod2html is nice enough to generate a full-on HTML document for us,
# so we return the favor by ripping out the good parts. # so we return the favor by ripping out the good parts.
Expand Down

0 comments on commit 0fc0c66

Please sign in to comment.