samuele-cozzi / obsidian-marp-slides

Create markdown-based Marp presentations in Obsidian
MIT License
74 stars 6 forks source link

export not working on Linux, Obsidian 1.5.12 #154

Open gabrielegiammatteo opened 3 months ago

gabrielegiammatteo commented 3 months ago

Export was not working for me and debugging a bit I discovered that this was because the initial / was removed from the paths.

So, for instance, /home/gabriele/vault/.obsidian/plugins/obsidian-marp-slides becomes home/gabriele/vault/.obsidian/plugins/obsidian-marp-slides

Apparently this is done by the normalizePath() function used in filePaths.ts. I managed to get it work modifying the code in this way (not sure if this will work in all the cases, I just tested on my system).

OS: Linux Debian Obsidian: 1.5.12