Return true if the module is loaded.
MojoMojo::Formatter::SyntaxHighlight - syntax highlighting for code blocks
This formatter performs syntax highlighting on code blocks.
The syntax highlight formatter is based on <pre> tags entered by the user, so it must run before other formatters that produce <pre> tags. The earliest such formatter is the main formatter.
<pre>
This formatter uses Syntax::Highlight::Engine::Kate to syntax highlight code inside of <pre lang="language"> ... </pre> tags:
<pre lang="language"> ... </pre>
<pre lang="Perl"> say "Hello world!"; </pre>
See "PLUGINS" in Syntax::Highlight::Engine::Kate for a list of supported languages.
MojoMojo, Module::Pluggable::Ordered and Syntax::Highlight::Engine::Kate.
Johannes Plunien <plu@cpan.org>
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install MojoMojo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoMojo
CPAN shell
perl -MCPAN -e shell install MojoMojo
For more information on module installation, please visit the detailed CPAN module installation guide.