diff --git a/lua/telekasten.lua b/lua/telekasten.lua index bf6ac39..c28c5c1 100644 --- a/lua/telekasten.lua +++ b/lua/telekasten.lua @@ -117,7 +117,7 @@ local imgFromClipboard = function() os.execute("xclip -selection clipboard -t image/png -o > " .. pngpath) if file_exists(pngpath) then if ZkCfg.image_link_style == "markdown" then - vim.api.nvim_put({ "![](" .. relpath .. "]" }, "", false, true) + vim.api.nvim_put({ "![](" .. relpath .. ")" }, "", false, true) else vim.api.nvim_put({ "![[" .. pngname .. "]]" }, "", false, true) end