Use case or problem
YAML can be unwieldy, and sometimes just doesn’t support certain values (e.g. links). It would also be great to give yaml fields in the content of a note.
The Dataview plugin recently gave support for inline yaml fields in the content of a note. One can type
key:: value in the body (not the frontmatter), and dataview recognises it as if it were
key: value in the yaml.
I propose that Obsidian supports inline fields so that other plugins can also use this functionality. Ideally one would be able to customise the syntax (
key:-> value, for example).
This would allow one to have a content value act as metadata without repeating oneself.
Today I ran:: 5km
Bonus points for:
- Access to a library that can parse this syntax
- Giving inline fields a css class for customisation
Current workaround (optional)
Dataview supports this, so it works with one plugin, but ideally all plugins could use this functionality, and Obsidian core.