marksman
marksman copied to clipboard
Option to ignore headers and/or prefer filenames to headers
I have an Obsidian markdown vault that has these features:
- File
a/b/string.md
exists - Files with headers
# string
or## string
exist
When I turn on marksman
on a file containing the string [[string]]
, I get warnings about Ambiguous link to document 'string'
.
If I want to link to a header, I'm fine linking to [[other-file#string]]
. (I rarely want to do this.)
Could we do one of these?
- Given ambiguous links between a single filename and one or more headers, always choose the filename without warning
- Add a pref to ignore/disable
[[header]]
links, and only allow[[filename]]
or `[[filename#header]`` links - Add an option to suppress the warning if a single file with the matching string exists, even if one or more headers with the matching string exist