Home  >  All Categories  >  Random  >  Wiki Links to Markdown Links for VSCode

Wiki Links to Markdown Links for VSCode

Recently, I migrated my Wiki to Zola. Zola does not support relative internal links, it only support @/xxx.md internal link format. This is a bit painful, I posted a feature request to Zola. But for now, I will use my own edited version of Zola, this change will allow me to use /content/xxx.md internal link format.

So, the second thing is to input absolute internal link quickly, Obsidian does have a feature that allows you type wiki links, then they will be converted to markdown links. I like this feature, but when I tried Obsidian seconds time, I still can’t use to it, and it’s also a bit slow compared to VSCode. Foam can only auto generate markdown reference link, but that feature not a one-time task, it sometimes makes mistakes, like add multiple " at the end of reference zone. So, I decided to fork foam extension, and turn off the most features that I don’t need, only keep creating notes from template, and convert wiki links to markdown links.

Wiki Links to Markdown Links

I’m so lucky, Foam’s code structure is very clean, so I just changed a little bit to achieve what I wanted. Here is my final result: Foam, if you need this, I also publish it on VSCode marketplace.

Category: Random 
TagsWiki LinksVSCode
Published:   📝 Edit this page

该博客没有评论系统,我正在实验有意义的讨论是否更易在社群中发生,不知道为什么,人在社群中,似乎会有更好的行为规范。然后如果有高质量的讨论,我会手动再精选到原文。为此,我建立了一个 Telegram 讨论群组,你可以在里面讨论这篇文章,点此复制文章标题和链接