You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in using these docker images to provide support for exporting drawio diagrams into svg format so they can be embedded into mdbooks.
However I'm stumbling into issues using the docker image. I believe part of my issue is coming from how the output directory flag is being used for specifying the output directory.
with the directory structure of
src/chapter1.md
src/diagram1.md
book/
book.toml
if i run the docker container with the following.
docker run -it -v $(pwd):/data rlespinasse/drawio-export --output book src/diagram1.md
I was expecting the output to be in the book folder, however the results end up in.
src/book/
For the export process I'd like put the output into output directory that a mdbook user would expect.
Hi,
I'm interested in using these docker images to provide support for exporting drawio diagrams into svg format so they can be embedded into mdbooks.
However I'm stumbling into issues using the docker image. I believe part of my issue is coming from how the output directory flag is being used for specifying the output directory.
with the directory structure of
if i run the docker container with the following.
I was expecting the output to be in the book folder, however the results end up in.
For the export process I'd like put the output into output directory that a mdbook user would expect.
Looking at the drawio-export rust utility, https://github.com/rlespinasse/drawio-exporter/blob/927228c390fb0e9a3957ae65ebbcd988f3d9fa7a/src/drawio_exporter/ops/exporter.rs#L95 shows that the output folder options passed to the drawio-exporter is joined to the path of where directory containing diagram.
So I'm curious on any thoughts on either supporting a direct way to specify the output directory or other suggestions that I'm missing.
Additionally thanks for creating this tool, this will be very helpful.
The text was updated successfully, but these errors were encountered: