Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Syntax highlighting code tags

by parv (Vicar)
on Sep 18, 2008 at 04:04 UTC ( #712167=note: print w/replies, xml ) Need Help??

in reply to Syntax highlighting code tags

Syntax highlighting, by default non-garish & off, would be tolerable only if everybody formats their code. Ability to use reader (as in not-an-author person) specified CSS would make the feature practical.

In any case, pushing the code through perltidy would be more desirable than this. (I know this point also has been discussed before.)

Replies are listed 'Best First'.
Re^2: Syntax highlighting code tags
by DrHyde (Prior) on Sep 18, 2008 at 10:15 UTC
    Of course, pushing <code>s through perltidy only works if the code is perl. As well as perl code, (including chunks of code that won't parse because they were full of '...' placeholders), I've posted shell scripts, C and PostScript here.

      Yes, that is quite a possibility ... just as much as (possibly, forced) implementation of a(ny) pretty printer here.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2021-04-21 07:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found