Text::EmacsColorSyntax-highlight code snippets with Emacs | |
Download |
Text::EmacsColor Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jonathan Rockway
- Publisher web site:
- http://search.cpan.org/~jrockway/
Text::EmacsColor Tags
Text::EmacsColor Description
Syntax-highlight code snippets with Emacs Text::EmacsColor is a Perl module that offers syntax-highlight code snippets with Emacs.SYNOPSIS my $colorer = Text::EmacsColor->new; my $html = $colorer->format( 'my $foo = 42', # code 'cperl', # the emacs mode to use (cperl, lisp, haskell, ...) );By default, emacs will exec in --batch mode. If you want to use emacsclient or pass other options to emacs, specify the emacs_command initarg: my $colorer = Text::EmacsColor->new( emacs_command => 'emacsclient --eval' ); Requirements: · Perl
Text::EmacsColor Related Software