carta
carta copied to clipboard
Patch updates to rendered HTML
If the markdown renders images, videos or iframes in the HTML you can get some quite noticeable re-loading of content as you make edits:
https://github.com/user-attachments/assets/5567d3f4-9808-465c-a43e-4d3956e5e81b
Using a HTML diff / patch lib can avoid some unnecessary updates:
https://github.com/user-attachments/assets/10d681f4-2e67-4e1b-9552-cec255c217dc
I'll create a PR ...