Skip to content

Commit

Permalink
jsdoc: Document that placeholders can now contain function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Dec 13, 2024
1 parent 99dd008 commit afb7bcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Scripting/ExpandPlaceholders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ const FUNCTION_REGEX = new RegExp(
* Expand any placeholder strings - {{....}} - in the given template, and return the result.
*
* The template implementation is currently provided by: [mustache.js](https://github.com/janl/mustache.js).
* This is augmented by also allowing the templates to contain function calls.
*
* @param template - A template string, typically with placeholders such as {{query.task.folder}}
* @param template - A template string, typically with placeholders such as {{query.task.folder}} or
* {{query.file.property('task_instruction')}}
* @param view - The property values
*
* @throws Error
Expand Down

0 comments on commit afb7bcc

Please sign in to comment.