TiddlyWiki5/plugins/tiddlywiki
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
..
async Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
aws Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
bibtex Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
browser-sniff Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
browser-storage Further fix to #9538 2025-12-29 21:44:57 +00:00
classictools Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
codemirror Edit-text widget: rows parameter takes precedence, CM accepts rows now (#9454) 2025-12-17 15:03:23 +00:00
codemirror-autocomplete Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-closebrackets Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-closetag Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
codemirror-fullscreen-editing Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-keymap-emacs Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-keymap-sublime-text Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-keymap-vim Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-css Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-htmlembedded Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-htmlmixed Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-javascript Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-markdown Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-x-tiddlywiki Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-mode-xml Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-search-replace Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
codemirror-trailingspace Bump codemirror 5 plugin version to 5.65.19 (#9114) 2025-06-28 16:18:42 +01:00
comments Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
confetti Change experimental plugins to stable 2025-05-18 12:04:08 +01:00
consent-banner Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
dynannotate Fix bug exposed by #9030 2025-04-14 22:17:18 +01:00
dynaview Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
evernote Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
external-attachments Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
filesystem Further improvements for offloading server components (#9288) 2025-09-14 11:21:42 +01:00
freelinks Fix character disappearing and false matching issues in TiddlyWiki 5.4 Freelink plugin (#9397) 2025-12-17 15:02:42 +00:00
geospatial Change experimental plugins to stable 2025-05-18 12:04:08 +01:00
github-fork-ribbon Fix github fork ribbon plugin marked as deprecated & add it back to full edition. (#8656) 2024-10-02 12:42:49 +01:00
googleanalytics [5.4.0] Update eslint target to 2017 and do initial fixes (#9135) 2025-10-01 15:08:00 +01:00
help Update PageControls buttons to use v5.3.2 syntax (#8579) 2024-09-10 12:00:13 +01:00
highlight [5.4.0] Update highlightjs plugin (#9118) 2025-10-29 11:04:53 +00:00
innerwiki Remove function wrappers from plugins (#9030) 2025-04-14 18:28:04 +01:00
internals Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
jasmine Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
jszip Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
katex Bump katex to newest version (#9626) 2026-02-04 10:11:09 +01:00
markdown Bump markdown-it to latest version (#9513) 2026-01-17 14:56:16 +00:00
markdown-legacy Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
menubar Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
pluginlibrary Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
powered-by-tiddlywiki Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
qrcode Remove function wrappers from plugins (#9030) 2025-04-14 18:28:04 +01:00
railroad Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
savetrail Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
sax Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00
share Fix some download file types. (#9026) 2025-04-12 15:32:10 +01:00
stacked-view Change experimental plugins to stable 2025-05-18 12:04:08 +01:00
text-slicer Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
tiddlyweb [v5.4.0] Offload server components from browser builds of TiddlyWiki (#9183) 2025-09-12 15:21:34 +01:00
tour Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
translators Make draft title translatable (#8891) 2026-02-04 11:21:54 +00:00
tw2parser Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
tw5.com-docs Change experimental plugins to stable 2025-05-18 12:04:08 +01:00
twitter Remove module function wrapper and add matching configurations for dprint and eslint (#7596) 2025-03-21 17:22:57 +00:00
twitter-archivist [5.4.0] Update eslint target to 2017 and do initial fixes (#9135) 2025-10-01 15:08:00 +01:00
upgrade Use currentColor to style svg (#9316) 2025-10-07 11:55:26 +01:00
wikitext-serialize Dynamic parameters for macro/procedure/function calls (#9055) 2026-02-04 11:24:06 +00:00
xlsx-utils [5.4.0] Update eslint target to 2017 and do initial fixes (#9135) 2025-10-01 15:08:00 +01:00
xmldom Add plugin stability badges (#8198) 2024-05-21 11:22:39 +01:00