Closed stevenj closed 1 year ago
Was just about to look into why the url config value set in the configuration is not used... thank you for the timely pull request to fix this alongside the new feature.
Hello and happy new year! Any chance the extension can be published with these changes? Thanks.
Any support we can provide to continue this towards being published? Especially the configuration thing w.r.t. the custom server setting is a blocking issue for me...
@pomdtr would you be able to take a look and merge this PR if it fits within what you would like to do with this extension? My use-case is to have simpler compatibility with https://github.com/AVATEAM-IT-SYSTEMHAUS/mkdocs-kroki-plugin which defaults to a fence prefix of kroki-
Sorry, not sure why but I missed the notification. I'll take a look tomorrow, thanks for you contribution.
Looks like I receive mails with mention, but not on new pull request. I'll fix that.
Tools like this: https://lib.rs/crates/mdbook-kroki-preprocessor also support kroki diagrams inside fenced code blocks. But in this case, they use a prefix in front of the diagram name. This PR adds an optional prefix parameter which allows easy compatibility with tools like this.
There was also a bug with handling of config values, so I had to fix that as well.