Open TCLiuu opened 1 year ago
When the image path referenced in the example is a relative path, it cannot be processed correctly. For example,
![](../figures/cover.png)
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 https://github.com/JuliaDocs/DemoCards.jl/blob/53ac68a4caafc62b5e02ddf5817204d26d2e8d00/src/generate.jl#L356
This report is a bit unclear. Does cover_path really exist on your system? Does it print literally "" or is that your own replacement?
cover_path
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
I think the problem arises from https://github.com/JuliaDocs/DemoCards.jl/blob/53ac68a4caafc62b5e02ddf5817204d26d2e8d00/src/generate.jl#L356