AVATEAM-IT-SYSTEMHAUS / mkdocs-kroki-plugin

MkDocs plugin for Kroki-Diagrams
MIT License
41 stars 27 forks source link

Links to images broken #29

Closed mat813 closed 1 year ago

mat813 commented 1 year ago

So, as described in #25, I have a file backbone/schema.md that has a kroki graph. the path to the generated image is now correct, but the generated html is not:

<p><img alt="Kroki" src="{'../../images/kroki_generated/schemas-1cf3fe41743e0a1c1567d1e95f6f05e4.svg'}" /></p>

Also, mkdocs generates a warning:

mkdocs-infra-1  | WARNING  -  Documentation file 'backbone/schemas.md' contains a link to 'backbone/images/kroki_generated/schemas-1cf3fe41743e0a1c1567d1e95f6f05e4.svg'}' which is not found in the documentation files.
oniboni commented 1 year ago

Hi, I could reproduce the issue in my test environments and wrote a fix.

Can you confirm, that it solves your issues as well?

mat813 commented 1 year ago

It does not, see https://github.com/AVATEAM-IT-SYSTEMHAUS/mkdocs-kroki-plugin/pull/30#issuecomment-1420910883

juanitocalero commented 1 year ago

I'm having the same issue. Looks like there is a problem with the last release. I can confirm that it works with version 0.5.2

oniboni commented 1 year ago

It should now work as expected. #30

mat813 commented 1 year ago

@oniboni yes, now it works :smiley:

b-bittner commented 1 year ago

Thanks for all your support! And sorry for the delay..

b-bittner commented 1 year ago

I've merged #27 into main, but not yet as the newest release. Maybe someone can confirm ist fixing the issue and and not creating new ones.