samuele-cozzi / obsidian-marp-slides

Create markdown-based Marp presentations in Obsidian
MIT License
89 stars 8 forks source link

Reference local image via obsidian url #155

Open lunerfox opened 7 months ago

lunerfox commented 7 months ago

I have a number of images that I keep in the vault. For privacy reasons, I'm not comfortable uploading those images to the internet. Currently, there doesn't seem to be a way to reference an image from inside the vault. Could obsidian urls be added as a valid input for images? It seems like all the syntax would still match.

An example would look like this: ![bg right:40% 80%](obsidian://open?vault=Leo%20Szeto&file=Attachments%2FExamplePic.png)