in reply to syntax highlighting of code in perlmonks forums
So, let's say you had a special tag, <perl_code> has been suggested here, that would run the tag contents through perltidy --html. The highlighting is implemented with a CSS stylesheet, which could be incorporated into the standard site CSS. To turn off the highlighting, or to implement your own style, just add a custom stylesheet.
Of course, it would still be a significant load on the server(s).
|
|---|