From 1ded43f6eada1ef0b7fe7a79d12120dff9c9d3f7 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 12 May 2025 17:32:30 +0100 Subject: [PATCH] Test for attribute macros --- .../data/macros/dynamic-macros/Attribute.tid | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 editions/test/tiddlers/tests/data/macros/dynamic-macros/Attribute.tid diff --git a/editions/test/tiddlers/tests/data/macros/dynamic-macros/Attribute.tid b/editions/test/tiddlers/tests/data/macros/dynamic-macros/Attribute.tid new file mode 100644 index 0000000000..71e02dd61d --- /dev/null +++ b/editions/test/tiddlers/tests/data/macros/dynamic-macros/Attribute.tid @@ -0,0 +1,34 @@ +title: Macros/Dynamic/Attribute +description: Attribute macrocall with dynamic paramters +type: text/vnd.tiddlywiki-multiple +tags: [[$:/tags/wiki-test-spec]] + +title: Output + +\define mamacromamacro(param:"red") +It is $param$ +\end + +<$text text=<>/> +- +<$text text=<>/> +- +<$text text=<>/> +- +<$text text=<>/> +- +<$text text=<>/> + ++ +title: ExpectedResult + +

It is red +- +It is ba +- +It is ab +- +It is ab +- +It is param +

\ No newline at end of file