artisticat1 / nl-syntax-highlighting

Highlight adjectives, nouns, adverbs, verbs, and conjunctions in Obsidian.md
MIT License
97 stars 4 forks source link

Ignore text in code blocks #11

Open LukeSavefrogs opened 11 months ago

LukeSavefrogs commented 11 months ago

Right now the text inside code blocks is processed and highlighted.

This is VERY confusing when handling vaults with lots of code snippets:

image

It would be useful to have a switch in the configuration to toggle this behaviour ON and OFF.

ejisoo commented 8 months ago

+1 to this. Half my notes are code, so I had to turn it off.

Anon-Exploiter commented 3 months ago

As a workaround, turn off nouns within the plugin options. This will make the code blocks look less annoying.

Before: image

After: image