DOKK / manpages / debian 10 / libmojomojo-perl / MojoMojo::Formatter::IDLink.3pm.en
MojoMojo::Formatter::IDLink(3pm) User Contributed Perl Documentation MojoMojo::Formatter::IDLink(3pm)

MojoMojo::Formatter::IDLink - Linked {{id:<service name> <word>}}

if 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>

The IDLink formatter has no special requirements in terms of the order it gets run in, so it has a priority of 10.

Calls the formatter. Takes a ref to the content as well as the context object.

Here the actual formatting is done.

MojoMojo and Module::Pluggable::Ordered.

Dai Okabayashi, "bayashi at cpan . org"

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

2018-01-13 perl v5.26.1