'id' in FrontMatter
The ID in frontmatter is the minimum value needed to deem a markdown file as a parseable note.
Format
---
id: <globally-unique-string>
---
---
id: 5wq691vs7bkjf59xdsdsadf
---
Why is id required?
Stable links
Without an id, whenever you publish (web view), you would publish with the file name. This makes the links very brittle if any refactoring occurs. We want to allow linking to published notes in a much more stable fashion, so you can refactor note hierarchies without breaking links to your published views.
Long-term metadata
A globally unique, stable identifier tied to the file allows us to store metadata about that note, such as Visit History.
Backlinks