slidevjs / slidev

Presentation Slides for Developers
https://sli.dev
MIT License
33.59k stars 1.37k forks source link

Excalidraw Support #1667

Open oripka opened 5 months ago

oripka commented 5 months ago

I did some trials to integrate excalidraw and it worked when converting the files to png automatically using a browser as an exporter.

I think it would be nice to be able to draw directly on a slide using excalidraw (or make a new slide during a presentation and draw there) in a sort of editor mode. Then have it persist and be rendered as transparent png that is dark mode aware during the presentation.

AlbertBrand commented 2 months ago

Have you tried https://github.com/haydenull/slidev-addon-excalidraw? It enables you to render excalidraw drawings as part of your slideshow - it does not render PNGs and does not allow editing from Slidev, but at least it's something.

You can also check out https://github.com/AlbertBrand/slidev-addon-tldraw that lets you edit tldraw canvases from Slidev directly. tldraw is quite similar in functionality to excalidraw.