Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ you wish to run the library.
* [.pod](http://search.cpan.org/dist/perl/pod/perlpod.pod) -- `Pod::Simple::HTML`
comes with Perl >= 5.10. Lower versions should install Pod::Simple from CPAN.
* .1 - Requires [`groff`](http://www.gnu.org/software/groff/)
* [.hiki](http://projects.netlab.jp/hikidoc/) -- `gem install hikidoc`


Contributing
Expand Down
4 changes: 4 additions & 0 deletions lib/github/markups.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
Creole.creolize(content)
end

markup(:hikidoc, /hiki/) do |content|
HikiDoc.to_html(content)
end

command(:rest2html, /re?st(\.txt)?/)

command('asciidoc -s --backend=xhtml11 -o - -', /asciidoc/)
Expand Down
2 changes: 2 additions & 0 deletions test/markups/README.hiki
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* One
* Two
4 changes: 4 additions & 0 deletions test/markups/README.hiki.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<ul>
<li>One</li>
<li>Two</li>
</ul>