I use the Excalidraw plugin to make Excalidraw drawings from within Obsidian. It works great.
Since I wanted to share some of them with people who do not have Obsidian, I was planning to send them the source files so that they can import them in excalidraw.org.
This however does not work - the
something.excalidraw.md files from Obsidian are not recognized by excalidraw.org
After looking at the Obsidian
something.excalidraw.md and an exported excalidraw.org file, I saw that the Obsidian one had the actual Excalidraw JSON source data embedded as a code block. Removing everything around the JSON created a file correctly imported in excalidraw.org.
This is however a rather artisanal way to “export” excalidraw drawings to the proper excalidraw format - is there a better way to do that?