Replies: 3 comments
-
Frontmatter is the metadata, and probably should be the 'source of truth', while the filename is for sorting/filename searching. You can also synchronise the filename with the frontmatter using P.S. As you are transitioning from org-roam I should probably also mention the |
Beta Was this translation helpful? Give feedback.
-
The problem with the front matter as the source of truth is that not all notes have it by design. One of the great advantages of denotes filename scheme is that binary notes are first class citizens, I can add non-text notes and tag, search and link to them. The file name is the more 'primitive' object also, and accessible without even having to open and parse the files, so at a pinch I can throw together a simple bash script to process my notes without worrying about content format. As far as I can see from the code,
In contrast, the title in the filename is a sluggified version of the 'true' title in the frontmatter when it's a text note. Buffer listing go off the true title and |
Beta Was this translation helpful? Give feedback.
-
Incidentally, just tried
and it happily picked out the filetags to update despite all the header noise and the drawer. This means you can put everything in an org drawer and collapse it and get a visually clean note, and not lose any functionality. Cool. |
Beta Was this translation helpful? Give feedback.
-
I'm transitioning from org-roam to denote but before I convert a whole bunch of notes, will I end up with problems if my frontmatter only includes the #+title: and some other custom fields?
The default at the moment also adds a #+date, #+identifier, and #+filetags but that seems redundant since all that info in is the filename. It also introduces friction for me, since if they become different I then have to decide which was correct, so I'd rather remove them and have a single source of that info. I'm worried that if I omit them some functionality will break somewhere.
Beta Was this translation helpful? Give feedback.
All reactions