TiddlyWiki5/core/modules
Jeremy Ruston 6bc77cf3e2
Dynamic parameters for macro/procedure/function calls (#9055)
* Initial commit

The idea is to extend the macro call syntax to accept dynamic parameter values (ie thing:{{more}} etc). Eventually, this will work in all the contexts in which the double angle bracket syntax is valid.

This initial commit gets the tests passing, but doesn't yet activate the new functionality.

* Test for standalone macro calls with dynamic parameters

* Parse attribute macros with the new parser

This fixes the tests

* Test for attribute macros

* Add some examples

* Tweak examples

* Fix test

* Temporarily disable a broken serializer test

* Fix/dynamic macro calls test (#9459)

* Revert "Temporarily disable a broken serializer test"

This reverts commit b3144300ee.

* restore synamic parameter parse result

* lint

* lint

* remove duplicate

* Update core/modules/parsers/parseutils.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update editions/test/tiddlers/tests/data/serialize/DynamicWidgetAttribute.tid

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update editions/test/tiddlers/tests/data/serialize/DynamicWidgetAttribute.tid

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: mixed qouted and unquoted

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix unneeded diff

* Minor docs update

* Genuflecting to the linter

* Remove debug logging

* Add change note

* Allow single closing square brackets within double square brackets quoted strings

* Only allow new style parameter values if the separator is an equals sign

* On reflection, new style values should not be allowed for anonymous parameters

Backwards compatibility

* Docs updates

* Docs updates

---------

Co-authored-by: lin onetwo <linonetwo012@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-04 11:24:06 +00:00
..
editor Recurse exception handling to better handle '{{}}' in place of recently installed fix (#9548) 2026-02-04 11:21:16 +00:00
filterrunprefixes Introduce multi-valued variables and let filter run prefix (#8972) 2025-11-22 12:29:42 +00:00
filters Add the words and lines modes to $diff-text (#9551) 2026-01-17 14:57:52 +00:00
indexers Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
info Adds info tiddlers for viewport dimensions (#9260) 2025-10-06 17:00:13 +01:00
macros Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
parsers Dynamic parameters for macro/procedure/function calls (#9055) 2026-02-04 11:24:06 +00:00
savers Introduce browser messaging saver (#5512) 2025-10-29 14:52:21 +00:00
startup Revert #9554 Refactor stylesheets in single <style> tags 2026-01-18 11:40:10 +00:00
storyviews Remove css props rather than setting transition to none (#9284) 2025-10-21 11:57:10 +01:00
upgraders Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
utils Recurse exception handling to better handle '{{}}' in place of recently installed fix (#9548) 2026-02-04 11:21:16 +00:00
widgets Dynamic parameters for macro/procedure/function calls (#9055) 2026-02-04 11:24:06 +00:00
config.js Revert "Fix 8166 html tag validation (#8176)" (#9374) 2025-10-29 22:01:03 +01:00
deserializers.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
filters.js Fix RSOE from filter operator errors (#9496) 2025-12-17 14:24:25 +00:00
keyboard.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
language.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
pluginswitcher.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
saver-handler.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
story.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
syncer.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
tiddler.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
wiki-bulkops.js Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
wiki.js Make draft title translatable (#8891) 2026-02-04 11:21:54 +00:00