I think the problem lies in [`markdown_viewer_update_view`](https://github.com/geany/geany-plugins/blob/master/markdown/src/viewer.c#L351), it passes the base URI as `file://.`, maybe it should use [`g_get_current_dir()`](https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-current-dir) to find the current directory, and compose a proper absolute path for the base URI. The base URI could also be made configurable, but then every time you start editing a different file in another path, it would have to be reconfigured.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/500#issuecomment-260027803