When I write notes, I just type my ideas and organically associate them with other concepts as they strike me. However, many notes benefit from having attached additional metadata in form of key-pair values – this is what front-matter is good for. I like to store title
, created
, for example, or link to a bibliography and similar stuff. Obsidian’s text editor is aware of front-matter in a way that it treats it syntactically differently, but, unfortunately, it does not go beyond that. I think that Obsidian could actually source metadata information from documents and make some useful things with them. Here are few ideas:
-
Source
title
property if provided and use it as a human-friendly document title instead of filename, because filename has its limitations (eg. they cannot contain certain characters etc.). This would be used in document listing and maybe it could be used for<title>
tag in HTML export. There’s already a proposal for something like that -
Source some front-matter field (eg.
created
date) field and sort document according to that. -
Query notes according to their metadata, using some SQL-like language (example: select all notes where
created
is between X an Y andtitle
begins with Z). This would allow us to treat our notes more like a databse records -
Generate some table view with front-matter fields as columns
And so on. The possibilities are endless. Thinking this way could open a wide range of new workflows and ways one can process their knowledge base.
As you can see, I don’t have any concrete proposal. In fact, I’m deliberately framing this question so generally because I’d like to spark some discussion. The actual ways the front-matter metadata could be used for various goals are open to discussion. Do you have any ideas?
There are some other front-matter-related discussions: