Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 71865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:57:17+00:00 2026-05-10T19:57:17+00:00

Anyone know of a JS library that will allow me to syntax highlight a

  • 0

Anyone know of a JS library that will allow me to syntax highlight a code block, then highlight line-level diffs? For example, in a subversion diff, I’d like to highlight the characters on the line that have changed (as well as highlighting the fact that there are change(s) on the line).

Edit: I’m after something that will let me syntax highlight according to the language, then syntax highlight the fact that it’s a diff, and ideally, on top, highlight the changed-characters on the lines that have changed. I saw that Gallio now does this for its not-equal assertion-exceptions, but haven’t looked at that yet.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T19:57:18+00:00Added an answer on May 10, 2026 at 7:57 pm

    The Google Syntax Highlighter is great, and supports lots of languages. I’m not sure if it supports diffs though, but I think it’s quite extensible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know of a library that will allow me to write an odt
Does anyone know if there's a library that will allow you to Query the
Does anyone know of a good library (windows) that will allow me to create
Anyone know of a library that handles parsing arguements passed from the command line
Does anyone know of a library that would allow me to manipulate Flex DOM
Does anyone know of a Java library that will let me parse .PO files?
Does anyone know of a 3rd party library that will convert a Microsoft Word
Does anyone know of a library or something that will convert an NSDate into
Does anyone know of a library that works with Ruby 1.9.1 on Rails 3
Does anyone know of a library that enables you to run an application inside

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.