Git Product home page Git Product logo

Comments (6)

rtfpessoa avatar rtfpessoa commented on May 25, 2024

Hi @dai-shi,

BTW, the README says char-to-char, which actually is word-to-word, isn't it

I had some problems with the char-by-char implementation and since it was not very helpful for reading I started using John Resig implementation for word-by-word line diff and din't updated the README yet.
Will do as soon as I get to change it again.

Regarding the multiline block comparison,
Currently I don't have much time to work on this, but as soon as I can, I have some improvements in mind to do and block comparison is one of them.

from diff2html.

dai-shi avatar dai-shi commented on May 25, 2024

I will look forward to it!

Another note is that the word delimiter seems spaces now, but it would be nice to delimit by some other characters like "()[];:.#@" and so on. I'm not sure how the delimiters should be defined.

from diff2html.

rtfpessoa avatar rtfpessoa commented on May 25, 2024

@dai-shi if you have any ideas how to do this I would be glad to accept a pull request.

from diff2html.

rtfpessoa avatar rtfpessoa commented on May 25, 2024

@dai-shi take a look at #7

And try it with diff2html-cli

I made diff in blocks and both char-by-char and word-by-word.

Any feedback?

from diff2html.

dai-shi avatar dai-shi commented on May 25, 2024

Just did a quick test (not with the cli, but directly), it's awesome! So far working as expected.
dai-shi/codeonmobile@03b08a1
Wonderful work!

from diff2html.

rtfpessoa avatar rtfpessoa commented on May 25, 2024

fixed by #7

from diff2html.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.