Refactoring one line links into wikilinks
Previously I had setup a feature of my website to expand one line links into a
card. This was not a standard, even to the point that some formatters wrap the
links with , thus breaking my custom plugin. Moving to the
wikilink standard will allow my markdown posts to work accross more site
builders without custom integrations.
Expand One Line Links [1]
What is a wikilink # [2]
Wikilinks are standard to a lot of wikis written in markdown.
markdown-it-wikilinks [3]
The wikilink syntax is a slug wrapped in double square brackets.
[[ slug ]]
Marksman lsp will even autocomplete these for you, its pretty sweet.
Note
I recently implemented hover for wikilinks and and am pretty stoked about the
result. Check this one out sick wikilink hover [4].
Vim Quickfix # [5]
You could use vimgrep to fill your quickfix list will all of the one line links
but I am less familiar with vimgrep and kept missing posts for some reason, I
think it was something in my file glob missing some directori...