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.

  • Comment on Re: syntax highlighting of code in perlmonks forums

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 ?:)