Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by aaron_baugher (Deacon)
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: (5)
As of 2014-04-19 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls