|
NAMEMojoMojo::Formatter::IDLink - Linked {{id:<service name> <word>}}DESCRIPTIONif you write:{{id bayashi}} it will format like this <a href="http://twitter.com/bayashi">bayashi</a> you can write: {{id:cpan bayashi}} it will format like this <a href="http://search.cpan.org/~bayashi/">bayashi</a> METHODSformat_content_orderThe IDLink formatter has no special requirements in terms of the order it gets run in, so it has a priority of 10.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.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.
Visit the GSP FreeBSD Man Page Interface. |