Is there a Perl Highlighter syntax (HTML output) like PHP GeSHi?

Most PHP developers are probably familiar with the Highlighter syntax called " GeSHi ", which accepts code, emphasizes it using HTML and CSS:

include('geshi.php');
$source = 'echo "hello, world!";
$language = 'php';
$path = 'geshi/';
$geshi = new GeSHi($source, $language, $path);
echo $geshi->parse_code();

GeSHi supports a wide range of languages .

I wonder if there is a similar module for Perl?

+3
source share
5 answers
+7

PPI:: HTML. PPI Perl HTML.

+1

Pure Perl: :: Highlight:: Engine:: Kate ( Kate IDE Padre).

C: :: :: , :: SourceHighlight.

: Text:: VimColor, Text:: EmacsColor.

CPAN.

0

PHP , GeSHi , perl script.
gitweb, svn ( websvn) .

0

Source: https://habr.com/ru/post/1782068/


All Articles