Here’s a grouped release announcement message summarizing the new features and improvements in the latest Templating plugin updates (v2.0.0–2.0.8), leaving out bug fixes:
We’re excited to announce a major series of updates to the Templating plugin, packed with powerful new features, workflow enhancements, and developer tools. Here’s what’s new:
-
You can now use
InsertTemplateorAppendTemplateto:- 🆕 Automatically create a new note in the specified folder when used on a blank note.
- 📁 Prompt to move the current note to the target folder if it's not blank.
-
Support for
newNoteTitleargument and JSON vars for better Shortcuts integration. -
templateAppendcommand improvements for easier testing.
-
New tag functions:
getValuesForKey: retrieve all values for a specific frontmatter key.promptKey: interactive user prompts with folder filtering.getNote: fetch notes by title, filename, or ID.
-
<select XXX>now allows for folder selection from filtered list. -
Support for adding properties with
---block in templates.
date.daysUntiladded.formattedDateTimenow supports bothstrftimeandmoment.js.nowworks correctly withoffsetDays.date8601bug fixed.- Updated to match NotePlan’s week numbering and week start settings.
-
New functions in
NoteModule:note.currentNote()note.getRandomLine()openTasks,completedTasks,openChecklists,completedChecklists
-
Added
eventDateandeventEndDatefor use with Meeting Notes. -
Stoic quotes, Bible verses, journaling questions now available in
web.services.
web.servicesnow globally accessible with automaticawait.- Improved timeout messages for advice, verse, quote, and weather services.
- All plugin documentation links now point to the new documentation site.
Thanks to everyone who submitted feature requests, especially @jgclark and Tim Shaker! As always, feedback is welcome.
Templating is a template language plugin for NotePlan that lets you insert variables and method results into your notes. It will also let you execute custom JavaScript constructed in the templates providing a rich note taking system.
📖 This README provides a quick overview of Templating, visit Templating website for comprehensive documention.
NOTE: Start Here: Templating Documentation
All commands can be invoked using the NotePlan Command Bar (Command-J then /) which NotePlan has reserved for plugin activation. Or by selecting 🧩 Templating from the Plugins menu)
Once the command bar is displayed, you can continue typing any of the following commands to invoke the appropriate plugin command. In some case where specifically noted, you can alternately invoke the plugin command at the current insertion pointer within your document.
📖 Visit Templating website for comprehensive documention
| Command | Available Inline | Description |
|---|---|---|
| np:append | Yes | Appends selected template at end of current note (will show list of all available templates) |
| np:insert | Yes | Insert selected template at cursor (will show list of all available templates) |
| np:invoke | Yes | Invoke Template Command, using location key in template to determine injected template |
| contents into current | ||
| np:new | Yes | Creates a new note from selected template and supplied note name |
| np:qtn | Yes | Invokes Quick Note Generation (displays list of all type: quick-note) |
| np:update | Yes | Invokes settings update method |
| np:version | Yes | Displays current Templating version |
Copyright © 2022 Mike Erickson Released under the MIT license
Codedugeon Toolbox for NotePlan written by Mike Erickson
E-Mail: [email protected]
Support: https://github.com/NotePlan/plugins/issues
Twitter: @codedungeon
Website: codedungeon.io

