carta icon indicating copy to clipboard operation
carta copied to clipboard

Patch updates to rendered HTML

Open CaptainCodeman opened this issue 8 months ago • 0 comments

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 ...

CaptainCodeman avatar May 15 '25 18:05 CaptainCodeman