You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
obsidian.nvim is generating tags for things which are not tags. I first noticed it with certain URLs in my notes, e.g. the following text:
- The GHCi debugger: https://downloads.haskell.org/~ghc/9.4-latest/docs/users_guide/ghci.html#the-ghci-debugger
...results (incorrectly) in the tag #the-ghci-debugger in obsidian.nvim. (Obsidian doesn't treat this as a tag.)
I'm not sure Obsidian's exact rules here (it's not explicitly mentioned in the docs), but it seems like Obsidian only treats a string with a # as a tag if it stands alone, e.g. some kind of word-boundary in there:
(Above shot from Obsidian desktop app.)
Config
require("obsidian").setup({
workspaces= {
{
name="notes",
path="~/Sync/notes",
},
},
preferred_link_style="wiki",
disable_frontmatter=true,
ui= {
enable=false,
checkboxes= {
-- NOTE: the 'char' value has to be a single character, and the highlight groups are defined below.
[""] = { char="", hl_group="ObsidianTodo" },
["x"] = { char="", hl_group="ObsidianDone" },
},
},
Environment
$ nvim --version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
🐛 Describe the bug
obsidian.nvim is generating tags for things which are not tags. I first noticed it with certain URLs in my notes, e.g. the following text:
...results (incorrectly) in the tag
#the-ghci-debugger
in obsidian.nvim. (Obsidian doesn't treat this as a tag.)I'm not sure Obsidian's exact rules here (it's not explicitly mentioned in the docs), but it seems like Obsidian only treats a string with a
#
as a tag if it stands alone, e.g. some kind of word-boundary in there:(Above shot from Obsidian desktop app.)
Config
Environment
The text was updated successfully, but these errors were encountered: