Skip to content
Discussion options

You must be logged in to vote

These are quirks of rendering, not of the functions.

  • link(string) produces a Link object. Dataview renders this as a HTML link.
  • link(array) just converts all elements inside the array to links, producing an array of links (Link[]). Dataview renders arrays as a HTML list of links.
  • join(link(array)) takes the array of links from above, and joins them all into a single string result (join(link(["hello", "goodbye"])) = join([[Hello]], [[Goodbye]]) = "[[Hello]], [[Goodbye]]"). This is a string and not an array and so dataview renders it directly without a list.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AB1908
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants