2022-08-04 08:28:56 +00:00
title: Functions/WikifiedFunctions
description: Wikified functions
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
2023-01-21 21:04:43 +00:00
\function fn-buffalo(param)
[<param>addsuffix[ with a ''buffalo'']]
2022-08-04 08:28:56 +00:00
\end
2023-01-21 21:04:43 +00:00
\procedure proc-buffalo(param)
<<param>> with a ''buffalo''
2022-08-04 08:28:56 +00:00
\end
2023-01-21 21:04:43 +00:00
\define macro-buffalo(param)
$param$ with a ''buffalo''
2022-08-04 08:28:56 +00:00
\end
<<fn-buffalo "Going to lunch">>
2023-01-21 21:04:43 +00:00
<<proc-buffalo "Going to breakfast">>
2022-08-04 08:28:56 +00:00
2023-01-21 21:04:43 +00:00
<<macro-buffalo "Going to dinner">>
<$transclude $variable="fn-buffalo" param="Going to lunch" $output="text/plain"/>
<$transclude $variable="proc-buffalo" param="Going to breakfast" $output="text/plain"/>
<$transclude $variable="macro-buffalo" param="Going to dinner" $output="text/plain"/>
2022-08-04 08:28:56 +00:00
+
title: ExpectedResult
2023-01-21 21:04:43 +00:00
<p>Going to lunch with a <strong>buffalo</strong></p><p>Going to breakfastwith a<strong>buffalo</strong></p><p>Going to dinner with a <strong>buffalo</strong></p>Going to lunch with a buffalo with a buffaloGoing to dinner with a buffalo