diff --git a/kroki/plugin.py b/kroki/plugin.py index adc444c..3578812 100644 --- a/kroki/plugin.py +++ b/kroki/plugin.py @@ -83,7 +83,7 @@ def _save_kroki_image_and_get_url(self, file_name, image_data, files): mkdocs_file = File(get_url, self._tmp_dir.name, self._output_dir, False) files.append(mkdocs_file) - return f'/{get_url}' + return f'./{get_url}' def _replace_kroki_block(self, match_obj, files, page): kroki_type = match_obj.group(1).lower()