Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://103791]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-09-21 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (241 votes). Check out past polls.

    Notices?