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?
Read next

Should I use Linux?
Henry Boisdequin -

LinkedIn changed its UI !! What's your opinion
amananandrai -

How do you finish your projects?
CodyBrewer -

How is Remix different from Next.js
Nader Dabit -
Discussion
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: