Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Re: Code Highlighting in the code tag

by mischief (Hermit)
on Aug 10, 2001 at 12:11 UTC ( #103791=note: print w/replies, xml ) Need Help??

in reply to Re: Code Highlighting in the code tag
in thread Code Highlighting in the code tag

Using <code> tags in your post doesn't actually put a <code> tag in the html output when you view it (check the source). One of the reasons I suggested it is because there's already some kind of magick going on with <code> tags, so I figured that it might be as easy as putting in a sub for the code highlighting along with $code = highlight_code($code) if $user_prefs{'wants_highlighting'} in the bit that deals with the code. (Dammit! I've got <code> on the brain now after using it 16 times in this post. :-)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-10-25 06:25 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.