JavaScript library for syntax highlighting for code, then diffs, in HTML, at the line level? -
anyone know of js library allow me syntax highlight code block, highlight line-level diffs? example, in subversion diff, i'd highlight characters on line have changed (as highlighting fact there change(s) on line).
edit: i'm after let me syntax highlight according language, syntax highlight fact it's diff, , ideally, on top, highlight changed-characters on lines have changed. saw gallio not-equal assertion-exceptions, haven't looked @ yet.
the google syntax highlighter great, , supports lots of languages. i'm not sure if supports diffs though, think it's quite extensible.
Comments
Post a Comment