-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IDEA] Add macro operator #8732
Comments
It would be sensible to name it The most generic way would be |
As is described in docs:
So it isn't encouraged to use procedure with parameters in filters. IMO the operator should not support macros or procedures defined in tiddlers, it only makes sense to support javascript macros in filters. |
Hi @Leilei332 might another possibility be to update the existing |
If we decided to extend the
|
Hi @Leilei332 I guess we already have the same conflict between functions and JS macros when using the |
The current implementation of using macros in filters isn't good enough:
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
The text was updated successfully, but these errors were encountered: