#23 Syntax Highlighting

closed
nobody
None
5
2008-06-18
2004-10-28
Anonymous
No

It will be nice if the code was displayed with syntax
highlighting.

Discussion

  • Logged In: NO

    I second that opinion. It would be really nice to have code
    highlighting

     
  • Jan Ruzicka
    Jan Ruzicka
    2005-04-04

    Logged In: YES
    user_id=195140

    May be the enscript could be used for this.
    Direct geneartion of html from enscript does not include the
    line numbers.

     
  • Logged In: NO

    FYI: I used 'Code2HTML' with minor changes to produce line
    number links for a similar (to codestriker) facility.

    See 'http://www.palfrader.org/code2html/'

     
  • Vadim Zeitlin
    Vadim Zeitlin
    2005-08-14

    Logged In: YES
    user_id=71618

    Syntax highlighting would indeed be very nice to have, I'm
    currently thinking of a hack using vim2html
    (http://freshmeat.net/projects/vim2html/) to do it as
    otherwise I find myself opening the file being reviewed in
    vim running near the browser instead of reading it inside
    the browser itself.

     
  • David Sitsky
    David Sitsky
    2006-08-17

    Logged In: YES
    user_id=208928

    Sounds good. This request has been around for a long time
    now - I think this will be the next feature I work on for
    the next release. Thanks for the link.

     
  • David Sitsky
    David Sitsky
    2008-06-18

    Logged In: YES
    user_id=208928
    Originator: NO

    At long last this has been implemented and is in the CVS repository. This will appear in the upcoming 1.9.5 release.

     
  • David Sitsky
    David Sitsky
    2008-06-18

    • status: open --> closed