When the image path referenced in the example is a relative path, it cannot be processed correctly. For example,

Will produce an error, and the result will be like
┌ Warning: cover file doesn't exists
│ cover_path = "<CARD_PATH>/../figures/cover.png"
└ @ DemoCards ~/.julia/packages/DemoCards/ZgH8l/src/generate.jl:358
I think the problem arises from
|
src_path = joinpath(dirname(card.path), card.cover) |