When I preview the markdown, the links to websites and files are not clickable. If I hover over them, I get a tooltip redirecting to javascript:return()
Steps to reproduce the behavior:
Open a markdown file and type :PeekPreview
Expected behavior
A preview of the markdown with clickable links.
Screenshots
Image
Desktop (please complete the following information):
- OS: Fedora 42 Workstation
nvim --version:
NVIM v0.11.2
Build type: RelWithDebInfo
LuaJIT 2.1.1744318430
Run "nvim -V1 -v" for more info
deno 2.3.6 (stable, release, x86_64-unknown-linux-gnu)
v8 13.7.152.6-rusty
typescript 5.8.3
return {
"toppair/peek.nvim",
event = { "VeryLazy" },
build = "deno task --quiet build:fast",
config = function()
require("peek").setup({
auto_load = true, -- whether to automatically load preview when
-- entering another markdown buffer
close_on_bdelete = true, -- close preview window on buffer delete
syntax = true, -- enable syntax highlighting, affects performance
theme = "dark", -- 'dark' or 'light'
update_on_change = true,
app = "browser", -- 'webview', 'browser', string or a table of strings
-- explained below
filetype = { "markdown" }, -- list of filetypes to recognize as markdown
-- relevant if update_on_change is true
throttle_at = 200000, -- start throttling when file exceeds this
-- amount of bytes in size
throttle_time = "auto", -- minimum amount of time in milliseconds
-- that has to pass before starting new render
})
vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {})
vim.api.nvim_create_user_command("PeekClose", require("peek").close, {})
end,
}
When I preview the markdown, the links to websites and files are not clickable. If I hover over them, I get a tooltip redirecting to
javascript:return()Steps to reproduce the behavior:
Open a markdown file and type
:PeekPreviewExpected behavior
A preview of the markdown with clickable links.
Screenshots
Image
Desktop (please complete the following information):
nvim --version:deno --version: