Results 1 to 3 of 3

Thread: Code highlighter suggestion

  1. #1
    Ryan's Avatar
    Ryan is offline WordPress Legend
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,801

    Default Code highlighter suggestion

    Any chance we can get a code highligher in the forum? When we post code, it would be handy if it displayed with colour coded syntax highlighting:

    Posts like the one I just did are a little harder to read when they're just in plain old text:
    Basic AJAX question

  2. #2
    Utkarsh is offline Hello World
    Join Date
    Nov 2009
    Posts
    73

    Default

    Quote Originally Posted by Ryan View Post
    Any chance we can get a code highligher in the forum? When we post code, it would be handy if it displayed with colour coded syntax highlighting:

    Posts like the one I just did are a little harder to read when they're just in plain old text:
    Basic AJAX question
    You can wrap php code in [ php ] (without the space)

  3. #3
    Ryan's Avatar
    Ryan is offline WordPress Legend
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,801

    Default

    Oh, that does work. Cool!

    It doesn't do HTML or CSS highlighting, but it's good enough :)

    I need to implement something like this on my own forum some time, but haven't gotten around to it.

Posting Permissions

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