-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
actionableIssue is actionable and contributions (pull requests) are very welcomeIssue is actionable and contributions (pull requests) are very welcomeimprovementImprovement to existing functionalityImprovement to existing functionality
Description
The current implementation of using macros in filters isn't good enough:
<$list filter="[<mymacro param:'value'>]">
...
</$list>
It isn't able to use variables or textreference as a parameter of the macro. I think we had better introduce a macro operator so that variables and textreference can be used as parameter (like the function operator). For example
<$list filter="[macro[mymacro],[value]]">
...
</$list>
<$let template="DDth MMM YYYY">
<!-- variables and textreference are allowed -->
{{{ [macro[now],<template>] }}}
{{{ [macro[now],{$:/config/NewJournal/Title}] }}}
</$let>
kookma
Metadata
Metadata
Assignees
Labels
actionableIssue is actionable and contributions (pull requests) are very welcomeIssue is actionable and contributions (pull requests) are very welcomeimprovementImprovement to existing functionalityImprovement to existing functionality
Type
Projects
Status
Done