Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How do I display code using a pretty print type to the browser?

by aaron_baugher (Curate)
on Aug 15, 2012 at 22:15 UTC ( #987639=note: print w/ replies, xml ) Need Help??


in reply to How do I display code using a pretty print type to the browser?

I've used Text::Highlight for displaying Perl code in HTML. It's pretty straightforward -- wraps certain things like comments, function names, and strings in different CSS classes, which you can then customize to your liking with colors, fonts, etc.

Aaron B.
Available for small or large Perl jobs; see my home node.

  • Comment on Re: How do I display code using a pretty print type to the browser?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987639]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2016-07-28 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (258 votes). Check out past polls.