Man Page: mojomojo::formatter::syntaxhighlight
Operating Environment: debian
Section: 3pm
MojoMojo::Formatter::SyntaxHighlight(3pm) User Contributed Perl Documentation MojoMojo::Formatter::SyntaxHighlight(3pm) module_loaded Return true if the module is loaded.NAMEMojoMojo::Formatter::SyntaxHighlight - syntax highlighting for code blocksDESCRIPTIONThis formatter performs syntax highlighting on code blocks.METHODSformat_content_order 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. format_content 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.SEE ALSOMojoMojo, Module::Pluggable::Ordered and Syntax::Highlight::Engine::Kate.AUTHORSJohannes Plunien <plu@cpan.org>LICENSEThis library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-05-23 MojoMojo::Formatter::SyntaxHighlight(3pm)
| Similar Topics in the Unix Linux Community |
|---|
| How can I do this in VI editor? |
| Introduction |
| One instance of comparing grep and awk |
| Weird 'find' results |
| How to copy a column of multiple files and paste into new excel file (next to column)? |