sinedied / backslide

:sweat_drops: CLI tool for making HTML presentations with Remark.js using Markdown
https://sinedied.github.io/backslide
MIT License
764 stars 50 forks source link

Inline CSS images from template dir #77

Closed ToBeHH closed 4 years ago

ToBeHH commented 4 years ago

The css is the template and all referenced images should be in the template directory. This path loads them correctly. Would fix bug #76

sinedied commented 4 years ago

Thanks for the PR! ~~Though this is not how it is intended to be, as images are meant to be separate from the template dir as you can put many different presentations (with separate image folders) using the same template. All images should be referenced from the presentation path and not from the css path, that's why it may be a bit confusing.~~

sinedied commented 4 years ago

Whoops, my bad seems I was a bit tired when I saw it first, as this effectively fix some unintended issues with export. Will release an update ASAP