GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MojoMojo::Formatter::SyntaxHighlight(3) User Contributed Perl Documentation MojoMojo::Formatter::SyntaxHighlight(3)

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.

This formatter uses Syntax::Highlight::Engine::Kate to syntax highlight code inside of "<pre lang="language"> ... </pre>" tags:

 <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.
2016-12-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.