Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slightly different presentational style #1

Closed
bkno opened this issue Feb 12, 2011 · 2 comments
Closed

Slightly different presentational style #1

bkno opened this issue Feb 12, 2011 · 2 comments

Comments

@bkno
Copy link

bkno commented Feb 12, 2011

Hi

I've been testing diffy and was wondering if it's possible to achieve a similar output to:
http://img715.imageshack.us/img715/8824/highlightingstyle.png

This is produced using another gem called htmldiff, the downside though is it's not as clever as diffy when it comes to highlighting characters within a word.

Essentially what I'm after is to view one version of the text with both additions and removals in it. A bit like track changes in MS Word.

Currently I'm seeing the following using :html http://img41.imageshack.us/img41/9761/highlightingstyle2.png

@samg
Copy link
Owner

samg commented Feb 12, 2011

I think it would be pretty easy to extend Diffy to produce this kind of output. It's really a variation on what it's already doing. I'll try to find time to add this to the next release, or if you'd like to take a crack at it, I'd be happy to pull this functionality into the main gem.

@samg
Copy link
Owner

samg commented Oct 27, 2012

Turns out this isn't so easy, but I'd definitely entertain a pull request.

@samg samg closed this as completed Nov 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants