obsidian-advanced-slides
obsidian-advanced-slides copied to clipboard
Excalidraw pictures not showing on slides
Describe the bug Excalidraw pictures not showing on slides. It's look like with https://github.com/MSzturc/obsidian-advanced-slides/issues/119
Plugin version 1.18.1 Obsidian 1.0.3 MacOS 12.6
Excalidraw settings:
"exportPaddingSVG": 10,
"keepInSync": true,
"autoexportSVG": true,
"autoexportPNG": false,
"autoexportExcalidraw": true,
Can not confirm this issue. Plugin version 1.19.0 Obsidian 1.0.3
Me, too.
Maybe this is related to feature request #186.
Does not work either on my machine
advanced slides: 1.19.0 excalidraw: 1.8.7 Obsidian: 1.1.9 OS: Ubuntu 22.4
I can not embed neither "![[Drawing 2023-01-02 16.43.37.excalidraw]]" nor "![[Drawing 2023-01-02 16.43.37.excalidraw.dark.png]] although both of those files are there and I see the image rendered in the obsidian editor, but not in my slides (not in the preview, not in the html export). I currently do screenshots of those images and embed those.
I noticed that the exported html usually renders images like ![[someimage.png]] as
<img src="attachemnts/someimage.png>
While excalidraw images ![[someimage.excalidraw]] are just rendered as
<p>![[Drawing 2023-01-02 16.43.37.excalidraw]]</p>
which is kind of strange.
When I try to embed the png version of an excalidraw image with "![[someimage.excalidraw.dark.png]]" it will be rendered as
<img src="Drawing 2023-01-02 16.43.37.excalidraw|.dark.png" alt="" style="object-fit: scale-down">
Don't know what te "|.dark.png" is about, but it also looks like the image is searched in the root folder instead of the attachments folder where I store excalidraw images.
There is a bug in the lookup for svg/png files that does not work when excalidraw exports both light and dark themes, since that results in files with the endings *.[dark|light].[svg|png]
while the plugin expects them to be named *.[svg|png]
So for this to work you would have to turn off that setting.