MojoMojo::Formatter::Gist(3pm)

MojoMojo::Formatter::Gist3pm

Embed gist script

Overview

Embed 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.

Methods

format_content_order

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

format_content

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

process

Here the actual formatting is done.

Releases

4 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9
  4. 10

Authors

Dai Okabayashi, "bayashi at cpan . org"

License

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

From libmojomojo-perl 1.12+dfsg-1 in Debian 10 (Buster). Parsed by carta from the page's man source.