mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 19:39:57 +00:00
9317804464
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...
30 lines
604 B
Plaintext
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> |