samuele-cozzi / obsidian-marp-slides

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

Mannual way of installing lib #151

Closed yanggthomas closed 3 months ago

yanggthomas commented 4 months ago

Hi, I am encountering a problem with preview buttom. From developer tools, I get of "no such file or directory, open 'xxxx/.obsidian/plugins/marp-slides/lib3/bespoke.js". I checked "xxxx/.obsidian/plugins/marp-slides" and there is no lib3 content.

How can the lib be installed mannually? My plugin version is 0.45.5

samuele-cozzi commented 4 months ago

Please close and reopen obsidian. If doesn't work, you can find the library here in the zip file

yanggthomas commented 4 months ago

Hi, thanks for your reply. I did download library files and unzip them to 'xxxx/.obsidian/plugins/marp-slides/lib3/'. However, I cannot use markdown-it plugins. I get 'The specified engine has not resolved' error.

According to https://github.com/marp-team/marp-cli/issues/224, I tried to install with "npm install" in 'xxxx/.obsidian/plugins/marp-slides/lib3/', but the error remains.

I am not familiar with npm and node.js. Perhaps my installation is wrong?

samuele-cozzi commented 4 months ago

This is the folder structure of my vault: image

the lib folder of the zip will be renamed in lib3. No need of npm or node

I hope this is helpful :-)