When I open .md files with YAML frontmatter formatted with lists, the brackets become a part of the name of the elements in the list.
Eg: —- Tags: [tag1, tag2, tag3] —-
The tags will then look like this: “[tag1”, “tag2” and “tag3]”.
I tried to figure out why but didn’t find any information on her😊
In the page property, the value of can be a array and the separator is ,. Therefore any character in each side of the comma is a word. In your example, the [ will be associated with the rest of those characters to make a tag. Your solution is use
,
[
--- Tags: tag1, tag2, tag3 ---
Keep it simple.
Oh, I see! But isn’t the correct YAML with brackets or with -? Or am I just super confused now? haha
So either:
--- Tags: [tag1, tag2, tag3] ---
or:
--- Tags: - tag1 - tag2 - tag3 ---
Thank you so much for the reply btw😊