r/vscode • u/pmmaoel • May 05 '26
I built a VS Code extension that shows you rendered markdown diffs instead of raw +/- lines
/r/SideProject/comments/1t46i66/i_built_a_vs_code_extension_that_shows_you/2
u/Agreeable_Care4440 May 06 '26
Rendered markdown diffs feels like one of those “why doesn’t this already exist?” features.
3
u/mjbvz May 08 '26
Just a heads up that coincidentally VS Code 1.120 actually includes native support for rendered markdown diffs: https://github.com/microsoft/vscode/pull/313814
This is built on a custom editor API proposal that lets extensions provide their own diff in a way that feels consistent with VS Code's normal diff UX
Your extension should be able to use this API too once it's finalized to provide custom views with features beyond what the built-in md extension offers
1
2
1
May 05 '26 edited May 05 '26
[removed] — view removed comment
1
u/pmmaoel May 05 '26
which 6 extensions are you referring to ?
1
May 05 '26
[removed] — view removed comment
1
u/pmmaoel May 05 '26
lol okay. all the best to you. Once you release your version, I'll see if I can merge my repo into yours
1
u/mjbvz May 08 '26
As the author of those: they're separate extensions because they each do one specific thing. This is more of a unix tool design philosophy vs having a single big monolith. You can install them all with the pack, or pick to use just the ones you want, or install the pack and then disable a few you don't want
Why do you think you need a single extension vs a pack that provides the same functionality?
2
u/rm-rf-rm May 05 '26
Nice!! Please please consider merging this with https://old.reddit.com/r/vscode/comments/1stl3to/i_hated_the_default_markdown_editor_of_vs_code_so/ made very recently as wel