nothingislost / obsidian-dynamic-highlights

An experimental Obsidian plugin that highlights all occurrences of the word under the cursor
MIT License
132 stars 7 forks source link

regex `\B\@\w+` seems to have effect on the notes #59

Closed danieltomasz closed 2 years ago

danieltomasz commented 2 years ago

I want to have a highlight on pandoc citekeys \B\@\w+ seems to work with example 'my note @mynote2022` on https://regex101.com/ but not in dynamic highlights in obsidian note

danieltomasz commented 2 years ago

Edit: Solved with (@[^@\s[\];,'"]+)