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

FR: Add a toggle to re-enable highlighting in yaml/code block #33

Open chrisgrieser opened 2 years ago

chrisgrieser commented 2 years ago

So I had the idea to use the plugin to build me a (visual) linter. But for a lot of things (e.g. hashtags in yaml, codeblocks without language), the highlighter does not work, cause you implemented my earlier request #17 🙈

I think adding a toggle to include/search only in yaml/code blocks would easily solve this, probably on a per-highlighter-rule bases