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
I frequently add tags at the end of headings for easier topic retrieval, org-mode style.
Marksman correctly parses tags at the end of headings - if I search for LSP symbols, it identifies the tags. But, when I try to reference a heading using wiki-link syntax [[file#Heading]], both the completion suggestion and the slug include the tags for that heading, with a escape code for the #.
E.g.:
# This is a heading with tags #tag[[#This is a heading with tags %23tag]]
I think separating heading text from tags could help make for clearer slugs for headings wiki-link. Also, the way the heading is currently parsed does not allow me to go-to references for inline tags, because the LSP tries to find references to the heading line instead of the tag the cursor is on.
(Edit: wrong understandnig about how Obsidian deals with this - it also keeps the tags in the heading, but removes the #)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I frequently add tags at the end of headings for easier topic retrieval, org-mode style.
Marksman correctly parses tags at the end of headings - if I search for LSP symbols, it identifies the tags. But, when I try to reference a heading using wiki-link syntax
[[file#Heading]], both the completion suggestion and the slug include the tags for that heading, with a escape code for the#.E.g.:
I think separating heading text from tags could help make for clearer slugs for headings wiki-link. Also, the way the heading is currently parsed does not allow me to go-to references for inline tags, because the LSP tries to find references to the heading line instead of the tag the cursor is on.
(Edit: wrong understandnig about how Obsidian deals with this - it also keeps the tags in the heading, but removes the
#)Beta Was this translation helpful? Give feedback.
All reactions