Results 1 to 2 of 2
I just posted some code, and it got me thinking: "Boy, this would be cool if the forums did syntax highlighting." If code2html were incorporated, it would be pretty easy, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-14-2006 #1
Idea for forums: syntax highlighting?
I just posted some code, and it got me thinking: "Boy, this would be cool if the forums did syntax highlighting." If code2html were incorporated, it would be pretty easy, I think.
I think that'd be pretty neat; what about you guys?Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 11-14-2006 #2
I like it. I can't think of a good reason why we shouldn't have it. I think one question that would need to be answered is would the syntax highlighting only appear in code blocks? Because if so, some words may be highlighted that weren't supposed to be. For instance, if someone enclosed the contents of their xorg.conf within code blocks, code2html might try parsing that as a programming language, no?


Reply With Quote
