diff-match-patch icon indicating copy to clipboard operation
diff-match-patch copied to clipboard

could generate something like git diff unified format by diff-match-patch?

Open leoswing opened this issue 4 years ago • 4 comments

I was wonder how could diff-match-patch generate a unified formate, so that we could use this unified formate to generate a beautiful diff side-by-side using [diff2html]https://github.com/rtfpessoa/diff2html

For now, the text string generated by method patch_toText, could not be parsed because it's not a standard formate like what git diff and linux diff command diff -u -N file1 file2.

Could anyone be helpful and tell me how to solve this issue? Much appriciated if anyone could help~

leoswing avatar Jul 14 '21 01:07 leoswing

Hey were you able to solve this?

Lo-pez avatar May 17 '22 14:05 Lo-pez

Was this solved?

christiankyte avatar Mar 29 '23 02:03 christiankyte

any updates?

liudonghua123 avatar May 29 '23 07:05 liudonghua123