in reply to Re: syntax highlighting of code in perlmonks forums
in thread syntax highlighting of code in perlmonks forums

I'm a massive fan of using the particular monk's CSS to determine the hilighting... and providing a seperate option to enable it. (disabled by default)

Perhaps also providing a couple of default styles to get you started, a nice light-on-dark, a dark-on-light etc

even if it was just based on css, without an off switch

.codeblock { background-color: inherit!important; color:inherit!important; }
and boom, the hilighting disappears... and it starts looking like normal text (black on white) Or you could even do something outragious and provide a real user stylesheet to your browser to over-ride these things...
@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;