From 25b047f9c3f3886a1772b9c9218e240868df7dbe Mon Sep 17 00:00:00 2001 From: billgsm Date: Mon, 20 Jan 2025 16:09:06 +0100 Subject: [PATCH] Update README.md Fix variable name in follow_{img|url}_func --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d5d382b6..c17ba781 100644 --- a/README.md +++ b/README.md @@ -400,8 +400,8 @@ This is a complete list of all of the options that can be passed to `require("ob ---@param img string follow_img_func = function(img) vim.fn.jobstart { "qlmanage", "-p", img } -- Mac OS quick look preview - -- vim.fn.jobstart({"xdg-open", url}) -- linux - -- vim.cmd(':silent exec "!start ' .. url .. '"') -- Windows + -- vim.fn.jobstart({"xdg-open", img}) -- linux + -- vim.cmd(':silent exec "!start ' .. img .. '"') -- Windows end, -- Optional, set to true if you use the Obsidian Advanced URI plugin.