Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005

    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

  2. #2
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Arlington, VA, USA
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts