1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 19:39:57 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data/functions/WikifiedFunctions.tid
jeremy@jermolene.com 9317804464 FIx transcluding of functions
This first implementation concatenates the results of the filter (with no separator) and then wikifies the result.

The test in this commit is quite interesting...
2022-08-04 09:28:56 +01:00

30 lines
604 B
Plaintext

title: Functions/WikifiedFunctions
description: Wikified functions
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
\function fn-buffalo(p)
[<p>addsuffix[ with a buffalo]]
\end
\procedure proc-buffalo(p)
<$text text={{{ [<p>addsuffix[ with a buffalo]] }}}/>
\end
\define macro-buffalo(p)
$p$ with a buffalo
\end
<<fn-buffalo "Going to lunch">>
<<proc-buffalo "Going to lunch">>
<<macro-buffalo "Going to lunch">>
+
title: ExpectedResult
<p>Going to lunch with a buffalo</p><p>Going to lunch with a buffalo</p><p>Going to lunch with a buffalo</p>