Frontmatter links-quotation marks in wrong place: `[["link"]]`

What I’m trying to do

---
wikilinks:
- [[This]]
- [[That]]
- [[The other thing]]
---

The result of this frontmatter:
image

I read that Obsidian wanted to make it easier for us to insert links in the frontmatter, and I assumed that meant they would add the quotation marks and the final brackets around the entire value.

But the quotation marks should be outside the brackets "[[ ]]", not inside.

Is this a bug?

---
wikilinks:
- "[[This]]"
- "[[That]]"
- "[[The other thing]]"
---

…is the standard accepted format: quotes around the wikilinks.
Also, make sure you add ‘List’ to the property type:
{5B92836A-8BA9-4817-BB43-25E81EF80DDE}

You always seem to have bugs flying around properties… :slight_smile:

1 Like

Hi Yurcee,

Yes, I know the correct way of doing it.
What I’m saying is that I read somewhere that we didn’t have to include the quotation marks; that Obsidian would automatically do it themselves, thereby making it simpler for us to include links.

If they are doing this, then they are doing it wrong.

How are you creating the Properties here? That may be the issue. Here I’m only using the Properties interface to type everything in:

Obsidian_DXsS3Pi1Rd

2 Likes

To further emphasise what @ariehen is saying, when in live preview you shouldn’t enter the quotation marks (as Obsidian deals with it behind the scenes), but when in source mode you’re on your own, and do need to enter them.

4 Likes

And further to what holroy is saying, when programatically adding these, one needs to populate links without quotes.
Otherwise one’d end up with something like:

attachments:
  - "\"[[Filename.jpg]]\""

@holroy, exactly. That was my point. I was entering in source mode.

Obsidian DOES add in the quotation marks as well as the brackets around multiple entries in source mode; it is just putting the quotation marks in the wrong place.