Hi hi,
I hope this question hasn't been asked already, as I searched the archives with no avail.
I would like to start using Denote, and adapt it to my existing workflow — which is:
keeping notes as `.txt` files, mostly as a mix of YAML (front-matter, some other "blocks" inside the body) and the body as markdown-ish (though I use it very sparsely).
Looking at the Denote docs, it seems I could manage to write a custom function to do this, except already Denote uses a TOML syntax for markdown-like files.
My question therefore: would making my own custom functions on top of Denote be going against Denote's "nature"? Eg, would using a YAML syntax for the front-matter be a possible source of problems in the long term?
Many thanks!
André
Hi André,
I use YAML for my markdown files with Denote. See `maekdown-yaml` file type. You should be able to adjust denote’s file type so that you can use YAML front matter with .txt file extension.
nobiot
Sent from my iPhone
> On 10. Dec 2023, at 20:40, André Fincato <andre@andrefincato.info> wrote:> > Hi hi,> > I hope this question hasn't been asked already, as I searched the archives with no avail.> > I would like to start using Denote, and adapt it to my existing workflow — which is:> > keeping notes as `.txt` files, mostly as a mix of YAML (front-matter, some other "blocks" inside the body) and the body as markdown-ish (though I use it very sparsely).> > Looking at the Denote docs, it seems I could manage to write a custom function to do this, except already Denote uses a TOML syntax for markdown-like files.> > My question therefore: would making my own custom functions on top of Denote be going against Denote's "nature"? Eg, would using a YAML syntax for the front-matter be a possible source of problems in the long term?> > > Many thanks!> André
Even though it took me 3 months to look into, I just spent 30 mins now at last hacking with Denote.
I am happy to report I managed to let Denote create a `.txt` file with a custom front-matter, YAML style.
Thanks Noboru to get back to me instantly, and Prot for this amazing package!
You are welcome, André.
nobiot
Sent from my iPhone
> On 5. Mar 2024, at 20:10, André Fincato <andre@andrefincato.info> wrote:> > Even though it took me 3 months to look into, I just spent 30 mins now at last hacking with Denote.> > I am happy to report I managed to let Denote create a `.txt` file with a custom front-matter, YAML style.> > Thanks Noboru to get back to me instantly, and Prot for this amazing package!