News for hackers. Stuff that matters.
Re:I still use plain text for everything. (2016) by jjjbokma on Tuesday June 29, 2021 @02:23PM (#27679755)
Can't you store the meta-data as a YAML block like how for example pandoc uses for several of its output formats?
Re:I still use plain text for everything. (2016) by knazarov on Tuesday June 29, 2021 @06:39PM (#27682673)
There is an alternative: you can use a MIME envelope to store notes. This way you’ll have a plaintext container and a way to attach files in a portable way.

I’ve built a note taking system based on this idea: https://github.com/knazarov/notes.sh

Re:I still use plain text for everything. (2016) by genjipress on Tuesday June 29, 2021 @02:34PM (#27679893)
Sure, I can do that. The problem is what to do if I want to mass update the metadata across an entire set of documents. It's just easier to do that with a DB.
Re:I still use plain text for everything. (2016) by jjjbokma on Tuesday June 29, 2021 @02:36PM (#27679923)
That's very true, thanks for explaining.