[nvim] Adds a commented section about images in markdown docs, though it won't work in Foot tty.
This commit is contained in:
@@ -24,6 +24,17 @@ return {
|
|||||||
layout = { layout = { position = "right" } },
|
layout = { layout = { position = "right" } },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
-- This only supports the Kitty graphics protocol.
|
||||||
|
-- See
|
||||||
|
-- https://github.com/folke/snacks.nvim/blob/main/docs/image.md
|
||||||
|
-- https://github.com/obsidian-nvim/obsidian.nvim/wiki/Images
|
||||||
|
-- image = {
|
||||||
|
-- resolve = function(path, src)
|
||||||
|
-- if require("obsidian.api").path_is_note(path) then
|
||||||
|
-- return require("obsidian.api").resolve_image_path(src)
|
||||||
|
-- end
|
||||||
|
-- end,
|
||||||
|
-- },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
Snacks.toggle({
|
Snacks.toggle({
|
||||||
|
|||||||
Reference in New Issue
Block a user