hadynz / obsidian-sidekick

A companion to identify hidden connections that match your tags and pages
134 stars 9 forks source link

ignore yaml & codeblocks #5

Closed chrisgrieser closed 2 years ago

chrisgrieser commented 2 years ago

the plugin should not highlight things in yaml and code blocks, since text there has a different meaning and since markdown syntax is invalid there anyway.

Screenshot 2022-02-13 11 39 04
hadynz commented 2 years ago

Agreed 👍

Will implement shortly.

hadynz commented 2 years ago

This has now been implemented in 1.0.5 - for both code blocks and frontmatter.

Thanks for suggesting this change.

If you can test and confirm it has been fixed that would be great.

chrisgrieser commented 2 years ago

Code block is now ignored, but yaml frontmatter still shows suggestions

Screenshot 2022-02-14 11 40 51
hadynz commented 2 years ago

@chrisgrieser I found a subsequent bug and fixed it in https://github.com/hadynz/obsidian-sidekick/pull/7 which was released 1.0.6