obsidian-dynamic-highlights icon indicating copy to clipboard operation
obsidian-dynamic-highlights copied to clipboard

Add an option to let the user decide whether to mark text if it's inside of front matter or a code block

Open tyf2018 opened this issue 3 years ago • 2 comments

Is it possible to add an option to let the user decide whether to mark text if it's inside of front matter or a code block? Thanks!

tyf2018 avatar Jan 19 '22 02:01 tyf2018

Sure. Out of curiosity, can you let me know your use case for highlighting text in those blocks?

Would you want that option per highlighter? Or globally?

nothingislost avatar Jan 19 '22 02:01 nothingislost

can you let me know your use case for highlighting text in those blocks?

Usage scenario: In some notes, I will add multiple pieces of dataview code, and some lines are the same or similar, so I need to check which lines (or sentences) are the same or similar at a glance.

I mistakenly thought that the new version of the plugin, this function will be disabled in the code block, so I added this issuse.

At the moment, the new version of the plugin does not disable the functionality I need in the code block, so just ignore my issuse. thanks.

Best Regards.

tyf2018 avatar Jan 19 '22 11:01 tyf2018