sytsereitsma/mdbook-plantuml

Images folder generated in the wrong path with multiple renders

Martin1887 opened this issue · 2 comments

Using multiple renders the image folder is created in the first rendered meanwhile it should be created in its parent folder. Therefore, images are not shown in any of output renderers.

Thanks and Regards.

Not sure what you mean here. Can you give an example book and steps to reproduce?

In your book.toml you can specify more than one renderer. The renderers natively supported are output.html and output.markdown (https://rust-lang.github.io/mdBook/format/configuration/renderers.html).

So, if you write the following sections in your book.toml file, the images folder will be generated in the html folder but paths to that folder begin with ../, so images are not found:

[output.html]

[output.markdown]

Note that the path to the images folder is correct but the images folder is not where it should be but inside the html folder.

Regards.