Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: syntax highlighting of code in perlmonks forums

by Popcorn Dave (Abbot)
on Jun 10, 2003 at 03:25 UTC ( [id://264530]=note: print w/replies, xml ) Need Help??


in reply to syntax highlighting of code in perlmonks forums

I have to agree with Merlyn that what you did is horribly hard to read on a white background. That said, perhaps the ability to highlight certain parts of code would be more to what you're after, but I'm not sure how you're going to balance the color scheme with people's ability to use CSS to control their own colors here.

It's an interesting idea, but perhaps better left to your own code editor.

There is no emoticon for what I'm feeling now.

Replies are listed 'Best First'.
Re: Re: syntax highlighting of code in perlmonks forums
by aquarium (Curate) on Jun 10, 2003 at 04:05 UTC
    ..well on a black or dark blue it looks good. the site colorizes so much as you all mention, and there's css on top. If not all than at least some would benefit from syntax colors instead of all the other color jazz-me-ups. And it wouldn't be too hard to have a new tag for <perl_code> And, if it's possible to have your own color schemes for the forums, so it would be possible to have your own syntax highlight color scheme. Copying others code, then perhaps opening vim/jedit, pasting code, and then setting syntax color mode, is all a bit tedious. hey, i'm lazy. + to me it seems clearer to see color highlighted code together with the comments. have i conviced anyone ?:)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-29 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found