id in frontmatter works great in neovim, but Obsidian app is confused about wikilinks with id as path. #735
Unanswered
joshfullmer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm admittedly quite new to both using Obsidian and using the obsidian.nvim plugin, so I very well could be missing something (in fact, I hope that's the case).
First, here's my full obsidian.nvim config:
Currently, my workflow is to create notes with
ObsidianNew
using the keymap. For example, I create a fileTODO
, the filename isTODO.md
, and it adds frontmatter that looks like this:Then, I'll use a "wikilink" in another file to link back to this file, like this:
I can use
gf
or<Enter>
with my cursor over that wikilink to successfully visit that file in neovim. However, the real problem I'm experiencing is in the Obsidian app. It's not recognizing the id frontmatter as a unique identifier of files. Clicking on any of those wikilinks in the app ends up creating a file with the id as the name. Furthermore, the graph is totally confused, having duplicates of id and the actual filename.Ideally, I could just change some setting either in obsidian.nvim or in the app that would more easily support my flow. One thing that I would really like to maintain with my workflow is duplicate filenames in different directories, which is really why id is appealing, but I'm open to other solutions.
Thanks for any help/ideas in advance!
Beta Was this translation helpful? Give feedback.
All reactions