flatnotes icon indicating copy to clipboard operation
flatnotes copied to clipboard

Front matter support

Open gglanzani opened this issue 1 year ago • 7 comments

I was wondering if front matter support (via yaml, f.e.) will be available in the future.

It would allow extra metadata such as date

---
title: Remote Working Policy
author: Giovanni Lanzani
date: 2024.06.14
---

gglanzani avatar Jun 22 '24 20:06 gglanzani

This isn't something that I have any plans for, but wouldn't be against it if there were sufficient demand.

dullage avatar Jun 23 '24 14:06 dullage

I just started using flatnotes (nice app btw) and was surprised it wasn't already using front matter. It's more common in flat file blogging platforms in my experience, but I had assumed going in that that's where it would keep track of tags and other metadata. I also imagine that knowing the creation date would be helpful as your notes library grows, and creation date could possibly be another sorting option too.

w33ble avatar Sep 09 '24 22:09 w33ble

I agree with adding front matter support. So my markdown notes will also be usable across other platforms. Thanks.

deuts avatar Sep 11 '24 03:09 deuts

The use-cases for flatnotes would grow exponentially if front matter searching was supported:

  • it could be used as a headless blog CMS, if able to search by information such as author and published-date.
  • it could be used as a headless catalog CMS for eCommerce, if able to search by info such as SKU, type and manufacturer
  • it could be used as a headless backend for a support ticketing system, if able to search by ID, status, assigned, and more.

iocouto avatar May 31 '25 09:05 iocouto

For reference, here is Joplin's front matter spec.

jhult avatar Jun 16 '25 02:06 jhult