Howdy,
I want to share a diff on Dev.to. How would you go about doing that?
I found a nice service called mergely, but I'm not sure if my shared diffs are writable by all, and anyways they can't be embeded. How would you share your diffs?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (3)
You can share diffs using the regular code fences in markdown. Just start the code fence with: three backticks and then
diff
(I can't escape the backticks to show you ๐).Then it will look something like this:
That's awesome!
That will work great for simple diffs, but how would I share, say, a whole-file diff, ignoring whitespace?
You could use gist: