dai-shi/excalidraw-animate

[Features] - Embed in .excalidraw.webp

Opened this issue · 1 comments

Hi,

I did just discover the features to save an excalidraw as .excalidraw.svg and .excalidraw.png (I'm doing that with the VSCode extension), and so have both the excalidraw source to edit the file and a render to embed it anywhere (notebook, markdown, html).

I suppose the excalidraw payload is kind of hide in the file.

I would be nice to have a .excalidraw.webp file with both the excalidraw payload and the webp rendering from excalidraw-animate, in order to embed the animation in reveal.js, html ... without losing the source

I'm not sure how easy it is, but excalidraw-animate is provided as npm package, so you can try it with the public api. excalidraw-claymate is doing it.