nb.nvim Fixes Cross-Folder Image Link Bug

4310sy · x · 2026-08-23

Neovim note-taking plugin nb.nvim merged a PR fixing a path calculation error when inserting image links via link(). The original logic only distinguished between different notebooks, failing to handle images in different subfolders within the same notebook, causing broken links. The fix introduces a relativepath() function to calculate relative paths and updates browseurl() to support subfolder paths.

Original post →

More from coding & agent

coding & agent channel →