Support for displaying Excalidraw files in GitHub Markdown #12216
-
Similar to support for mermaid, it would be very nice to have support for rendering Excalidraw (@excalidraw) files in READMEs, wikis, etc. Diagrams are implemented in a way that they are easily stored in json format, which makes them viable for usage in git repos. See also the link below for a usage where Excalidraw have been integrated into a VS Code to render (and edit) .excalidraw files. Example of usage: More information: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@matsest One thing you can do in the interim to get essentially the same affect is to export the Excalidraw drawing as a PNG and select the You can see an example of this here: https://github.com/stellar/starbridge/blob/effd63d/docs/design.md |
Beta Was this translation helpful? Give feedback.
-
Another workaround is to use NotesHub app (see a recent announcement: https://about.noteshub.app/blog/archive/2024/4/noteshub-33). It has a nice GitHub integration and now the ability to create Excalidraw SVG files. In this way, all whiteboards created in the app will be perfectly displayed in GitHub. The advantage of this workaround is that Excalidraw SVG could be saved directly to a GitHub repo. |
Beta Was this translation helpful? Give feedback.
@matsest One thing you can do in the interim to get essentially the same affect is to export the Excalidraw drawing as a PNG and select the
Embed Scene
option. Excalidraw will embed the JSON inside the PNG file and the PNG file can be edited by simply dragging it onto the Excalidraw website. The PNG is completely compatible with browsers and other applications though.You can see an example of this here: https://github.com/stellar/starbridge/blob/effd63d/docs/design.md