obsidian-map-view icon indicating copy to clipboard operation
obsidian-map-view copied to clipboard

Bug: Map View Doesn't support Obsidian 'tags' YAML

Open brimwats opened this issue 3 years ago • 2 comments

The documentation for obsidian says that one YAML value supported is tags

however, map view only respects "tag". here is a query for tag when the yaml reads tags

image

without the s:

image

brimwats avatar Jul 05 '22 07:07 brimwats

I don't think it's related to the YAML key, but rather to the special Unicode character you're using in your tag. Map View uses a positive regex to include only alphanumeric characters in tags. It's a very viable feature request to support all non-whitespace unicode characters.

esm7 avatar Jul 06 '22 05:07 esm7

that's fair! I'll try it without the emojis

if it's useful at all there is npm emoji regex package for the regex. or /(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g

brimwats avatar Jul 06 '22 13:07 brimwats