![]() |
![]()
| ![]() |
![]()
NAMEMojoMojo::Formatter::Gist - Embed Gist script DESCRIPTIONEmbed Gist script by writing {{gist <id>}}. if you write: {{gist 618402}} it will be formatted, like this <script src="https://gist.github.com/618402.js"></script> then you can see the syntax highlighted source code. METHODSformat_content_orderThe Gist formatter has no special requirements in terms of the order it gets run in, so it has a priority of 17. format_contentCalls the formatter. Takes a ref to the content as well as the context object. processHere the actual formatting is done. SEE ALSOMojoMojo and Module::Pluggable::Ordered. Gist is <https://gist.github.com/>. AUTHORSDai Okabayashi, "bayashi at cpan . org" LICENSEThis library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
|