rusi / obsidian-colorful-note-borders

Other
33 stars 3 forks source link

Tags are only working, when unique #12

Open merlinuwe opened 1 year ago

merlinuwe commented 1 year ago

As long as there is only one tag, it works:

image

In the moment, when I add a second tag, the border doesn't work anymore:

image

ibnibnbattuta commented 8 months ago

+1 this feels like an essential fix. (Thanks and love the plugin otherwise)

ibnibnbattuta commented 8 months ago

Could fixing this be as simple as changing line 250 of main.js from if (normalizedFrontMatterValue === normalizedValueToHighlight) { to if (normalizedFrontMatterValue.includes(normalizedValueToHighlight)) { ?