Closed davidfan168 closed 6 months ago
Totally agree, I was searching for this feature as well. We need this feature to have possibility to render a code without a diff, just like in a simple code viewer and switch dynamically into the diff mode on demand.
@davidfan168 If you want to take the changes from that commit and can add them to the current code to make it work, you are more than welcome to.
Thanks! I'll start working on it over the weekend
I am currently trying to compare a texts from html documents, and the default compare functions are not working too well for this case. Is it possible to add the option of using custom compare functions? This should also help with other requests like case insensitive diffs: https://github.com/Aeolun/react-diff-viewer-continued/issues/26
I found a pull request on the original
react-diff-viewer
which should just allow us to do this: https://github.com/praneshr/react-diff-viewer/pull/137/filesWill it be ok to add the changes from that commit? If it is then can I just create a pull request for that? I can also update the readme and provide examples on it. (Sorry for all these questions. This is my first time interacting with a public repo)