[Dataview Plugin] Proper syntax for inline metadata


Am looking for the proper syntax for multiple values for Dataview’s inline fields.

Would this work for strings?
Key:: Value 1, Value 2

1 Like

I think inline fields doesn’t support multiple/list values.
That’s possible in frontmatter fields.
One workaround is multiply the field entries:

Key:: value 1
Key:: value 2
Lorem ipsum dolor sit amet, consectetur [key:: value 3] adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

1 Like

Depending on what you will be using it for you can still do binary checks on lists in that format. For example, if a file has this:

Animals:: “dogs”, “cats”

That file would be possible to list with:

WHERE contains(Animals, "cats")

The actual key value (Animals) would still have the full value of “dogs” and “cats” though, as the list query only works out if “cats” in there somewhere, anywhere. Not sure if this is useful information or not, but hey. :slight_smile:


Ah, I see. Thanks for the workaround!


Don’t think I’ll be using this approach, but this is good to know! :+1:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.