What I’m trying to do
Hi, I am using Templater to create a note. The note has the the following frontmatter values. I fill these in after creation of the note.
Day: 2-TUE
Lesson: 2
Subject: Humanities
Week: 23
I am looking to do 2 things:
- Create a heading in the note that is based on the frontmatter i.e
---
23-TUE-2-Humanities
I have dataview installed but I can’t figure out how to extract the frontmatter values, concatenate them and represent as a test string for the heading. I suspect I need to use dataviewjs for this but can find no examples of a similar use.
- On saving the file I would like to rename the file with the name of the text string above i.e. 23-TUE-2-Humanities. I suspect I would use Templater for this but again can find no examples of a similar use.
Many thanks in advance for any help or pointers in the right direction.
Things I have tried
Searched forum for similar examples.
Searched Templater help.
Searched Dataview help.