Why should I use this instead of GitHub, Bitbucket or GitLab?
There are multiple advantages to using diff2html, but they can be divided in two categories: portability and features.
Regarding portability, diff2html makes it easy for people to share static html representations of diffs with anyone.
Regarding features you can have code syntax highlight, line similarity matching (similar lines are together), line by Line and side by side diffs and easy code selection.
All of this is completely independent of the provider you use to version the code.
What urls are supported in this demo?
Any GitHub, Bitbucket or GitLab commit, pull/merge request urls.
Any Git or Unified Raw Diff or Patch urls.
Can I share this demo with a friend, colleague or co-worker?
Just copy the url from the page, which should contain all the customizations and reference for the diff you introduced.
How can I paste the diff output directly in a page?
diffy.org is an amazing tool created by pbu88 to share your diffs and uses diff2html under the hood.
Also, diff2html-cli can directly publish diffs to diffy.org
I want to thank kevinsimper for this great idea, providing better diff support for existing online services.