Get Most Recent Periodic Note
"Periodic Note" is a collective term for Daily, Weekly, Monthly, Quarterly and Yearly Notes. In v1.3+, Periodic Notes replace what was previously only available for Daily Notes.
🚨 Working with Daily Notes requires either the core Daily Notes plugin or the Periodic Notes community plugin. Working with Weekly, Monthly, Quarterly or Yearly Notes requires the Periodic Notes community plugin.
Returns the most recent Daily/ Weekly/ Monthly/ Quarterly/ Yearly Note. Example: If there is a current Daily Note (i.e., one for today), it will be considered the most recent, otherwise the most recent past Daily Note will be returned. The note is returned as a Note object, which gives you access to the entire contents of the note, as well as just its body, front matter, and file path.
This action returns an error if no Periodic Note could be found.
Changes / History
- Replaces the hard-coded Daily Note target with the ability to select Daily, Weekly, Monthly, Quarterly and Yearly Notes.