Closed rogierhofboer closed 2 years ago
Thanks for filing this issue. I see :eyes: the problem and it does seem rather irksome.
Currently we're registering the kroki extension as a top level directive, so when the configuration settings are modified, there is no change being propagated.
I think I can fix this. PR soon.
Add option to use local or internal kroki server
Please do not comment on a closed issue about a feature you've already asked: https://github.com/asciidoctor/asciidoctor-vscode/issues/480
Description
Changes of the Use_kroki setting are only effective after restarting VS code.
Environment
AsciiDoc v2.8.9
To Reproduce
Create an asciidoc with an embedded diagram. Check Asciidoc: Use_asciidoctor_js Uncheck: Asciidoc: Use_kroki Restart VS code Preview the asciidoc (no diagrams should be rendered) Check: Asciidoc: Use_kroki Refresh the preview (diagrams should be rendered, but are not rendered) Restart VS code Refresh the preview (diagrams are rendered,)