![]() |
![]()
| ![]() |
![]()
NAMEPithub::Markdown - Github v3 Markdown API VERSIONversion 0.01043 ATTRIBUTESmodeThe rendering mode. Can be either:
contextThe repository context to use when creating references in "gfm" mode. Omit this parameter when using "markdown" mode. METHODSrenderRender an arbitrary Markdown document POST /markdown Example: use Pithub::Markdown; my $response = Pithub::Markdown->new->render( data => { text => "Hello world github/linguist#1 **cool**, and #1!", context => "github/gollum", mode => "gfm", }, ); # Note that response is NOT in JSON, so ->content will die my $html = $response->raw_content; AUTHORJohannes Plunien <plu@cpan.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2011 by Johannes Plunien. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|