How to capture note creation metadata

I just started using Obsidian, by pointing it to the big pile of Markdown files that I’ve been maintaining with Sublime Text for several years now.

Up until now, in order to preserve metadata for when a note was created, I format all files as follows: 20190521 - my wonderful note.md

As you can imagine, such filenames don’t make for especially readable links.

What’s the Obsidian-ish way of capturing this metadata within the file? Is it just a matter of adding a created: field as YAML front matter?

I discovered that if YAML front matters was not processed. So, if I did something like this:

---
created: 2019-05-21
tags: #wonderful
---

Then #wonderful would not be picked up as a tag.

So, instead, I’ve created a template (using the core plugin) that generates a line like this at the top of the document:

🏷️ 2020-11-12

This allows me to add tags beside the date and seems workable for the moment.

I don’t really use emoji in my notes, so hopefully I’ll be to use regular expressions to revise this slightly hacky way of adding metadata down the line.

How are other folks handling such cases?

1 Like

Your templates-plus-YAML solution is a great idea.

(Moving this thread to #knowledge-management as I think it’s more suited to the discussions there.)

1 Like