NAME
Pistachio - turns source code into stylish HTML
VERSION
version 0.05
SYNOPSIS
use Pistachio;
# List supported languages and styles.
#
# (Currently)
# Languages: Perl5, JSON
# Styles: Github
#
print Pistachio::supported;
# Get a Pistachio::Html object
my $handler = Pistachio::html_handler('Perl5', 'Github');
# Perl source code text (in typical usage, read from a file)
my $perl = join "\n", 'use strict;', 'package Foo::Bar', '...';
# Github-like CSS-styled HTML snippet.
my $snip = $handler->snippet(\$perl);
AUTHOR
Joel Dalley <joeldalley@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Joel Dalley.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.