spirali / nelsie

Framework for Creating Slides
MIT License
39 stars 4 forks source link

Allow specifying a default resource directory #23

Closed Kobzol closed 4 months ago

Kobzol commented 4 months ago

It would be nice to allow specifying a default directory where e.g. images will be searched (potentially even multiple directories, with a priority, but one should be enough). Essentially the equivalent of the LaTex \graphicspath{{}} command. It should help to avoid repeating e.g. imgs or images in all image paths.

spirali commented 4 months ago

It is already implemented: https://spirali.github.io/nelsie/guide/images/#image-directory

Kobzol commented 4 months ago

Ah, awesome :star_struck: Sorry, I have to admit that I opened the issue without checking the docs first :man_facepalming: