kortina / vscode-markdown-notes

Install from: https://ark.dance/md-notes
GNU General Public License v3.0
420 stars 65 forks source link

Ignore Tag recognition in some parts of a document #118

Open GeorgFoc opened 3 years ago

GeorgFoc commented 3 years ago

Is your feature request related to a problem? Please describe. I have many code blocks in my notes. There are also some css snippets with color codes. Markdown Notes recognize this color codes as tags. So I have a lot of strange looking tags. The same happens with other code snippets.

Describe the solution you'd like The easiest solution for me, would be a config parameter to ignore tags in code blocks (```). Because I think, I will never write Tags inside Code snippets.

Describe alternatives you've considered Maybe something like a surrounding tag ignore flag or so. But for myself, the code blocks will be enough.

Additional context Using: ubuntu 20.10 vscode: 1.52.1 Foam for VSCode Extension: v0.7.7 Markdown Notes Extension: v0.0.21

GeorgFoc commented 3 years ago

Here is also an corresponding Issue in the Foam Repo (where a pointer to this repo is set ;) ) This behavior also appears with links.

https://github.com/foambubble/foam/issues/373

FinnRG commented 2 years ago

If possible, it would be great if tags could also be ignored inside Latex blocks ($)