1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 15:29:56 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/test-jsonvariable-conat.tid
2024-05-23 07:24:13 +02:00

41 lines
900 B
Plaintext

created: 20240506101435113
modified: 20240506140610448
tags:
title: test-jsonvariables-conat
type: text/vnd.tiddlywiki
''Nice to have''
<<.example 1 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]jsonvariables[]]}}}/></pre>
""">>
''Human readable version''
<<.example 2 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]jsonvariables[]format:json<tab>]}}}/></pre>
""">>
''Function definition''
<<.example 3 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]jsonvariables[]jsonextract[srcVariable],[value]format:json<tab>]}}}/></pre>
""">>
''Get parameters''
<<.example 4 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]jsonvariables[]jsonextract[srcVariable],[params]format:json<tab>]}}}/></pre>
""">>
''Expected''
<<.example 5 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]format:variable[]]}}}/></pre>
""">>