Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-06-27 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (336 votes). Check out past polls.