You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess YALM is a kind of JSON, except that it doesn't fully support links (you use this format key: "[[link]]", but I heard that there is a case that you cannot put links in there. Unfortunately I don't fully remember the details). I just wonder why can't we use JSON in the file, like LaTeX or mermaid?
Case 1: list of links
text text:: value
subcategory: {[
[[link 1]],
[[link 2]]
]}
I don't want to put this in the frontmatter, because it's more natural to have read this list at the bottom. Plus that links aren't fully supported in there
If I use the Dataview inline, i.e. subcategory:: [[link 1]] [[link 2]], then it will be cluttered if there are many items and the links are long (alias won't help)
If I use tasks instead, i.e.
- [ ] [[link 1]]
- [ ] [[link 2]]
then I can only query them with file.tasks, not with the actual key I want. The checkbox also gives me false impression.
If I separate the list in multiple lines, i.e.
subcategory:: [[link 1]]
subcategory:: [[link 2]]
then it will be acceptable in this case if I ignore the repetition. So you can say this can be the solution for this particular case. But from here I just want to generalize the question
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I guess YALM is a kind of JSON, except that it doesn't fully support links (you use this format
key: "[[link]]"
, but I heard that there is a case that you cannot put links in there. Unfortunately I don't fully remember the details). I just wonder why can't we use JSON in the file, like LaTeX or mermaid?Case 1: list of links
I don't want to put this in the frontmatter, because it's more natural to have read this list at the bottom. Plus that links aren't fully supported in there
If I use the Dataview inline, i.e.
subcategory:: [[link 1]] [[link 2]]
, then it will be cluttered if there are many items and the links are long (alias won't help)If I use tasks instead, i.e.
then I can only query them with
file.tasks
, not with the actual key I want. The checkbox also gives me false impression.If I separate the list in multiple lines, i.e.
then it will be acceptable in this case if I ignore the repetition. So you can say this can be the solution for this particular case. But from here I just want to generalize the question
Case 2: declare metadata for non-existing files
While
link 1
hasn't created yet. This is extremely useful if you are working with graph database. See the Link Types - JugglBeta Was this translation helpful? Give feedback.
All reactions