Why should I use this instead of GitHub, Bitbucket or GitLab?
There are multiple advantages to using diff2html, but they can be devided 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 completly 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?
I want to thank kevinsimper for this great idea, providing better diff support for existing online services.