Use case or problem
In relation to: Simple String Searching Experience Which Returns Results with Symbols
Searching for combinations of words is difficult when markdown symbols prevent the ability to search for [[linked note]] plus word
like /linked note pl
because the ]]
breaks the search using regex—regex used to search for an entire string and not simply match words.
Same for bold and italicised words: *this* sentence isn't searchable
via /this sentence
because of the symbols.
Proposed solution
It would be great to have a setting like “Search in Reading Mode” where it would essentially return linked note plus word
when searching for /linked note pl
.
Same for bold and italic, it would return this sentence isn't searchable
without the symbols allowing /this sentence
to return correctly the search.
Current workaround (optional)
Current workaround is really only to know when I am searching for something that already is a link, and add in the brackets, yet this means for simpler things, and with a vault of 1000+ files, it can be difficult.
For bold and italic, I simply ask an LLM to consider all markdown symbols and exclude them on either side of each word, however this is tedious and really breaks the search experience. Example use case for /this sentence
becomes:
I don’t know the perfect answer to this, hence a “Search by Reading Mode”, or from the view of a developer, search by innerText
as apposed to innerHTML
.
Open to alternate thoughts and ideas.