mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-04 01:36:57 +00:00
update example
This commit is contained in:
parent
cfbd1f2643
commit
bd7ff4b539
40
editions/tw5.com/tiddlers/test-getvariablejson-conat.tid
Normal file
40
editions/tw5.com/tiddlers/test-getvariablejson-conat.tid
Normal file
@ -0,0 +1,40 @@
|
||||
created: 20240506101435113
|
||||
modified: 20240506105325655
|
||||
tags:
|
||||
title: test-getvariablejson-conat
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
''Nice to have''
|
||||
|
||||
<<.example 1 """\function tab() [charcode[9]]
|
||||
|
||||
<pre><$text text={{{[[.concat]getvariablejson[]]}}}/></pre>
|
||||
""">>
|
||||
|
||||
''Human readable version''
|
||||
|
||||
<<.example 2 """\function tab() [charcode[9]]
|
||||
|
||||
<pre><$text text={{{[[.concat]getvariablejson[]format:json<tab>]}}}/></pre>
|
||||
""">>
|
||||
|
||||
''Function definition''
|
||||
|
||||
<<.example 3 """\function tab() [charcode[9]]
|
||||
|
||||
<pre><$text text={{{[[.concat]getvariablejson[]jsonextract[srcVariable],[value]format:json<tab>]}}}/></pre>
|
||||
""">>
|
||||
|
||||
''Get parameters''
|
||||
|
||||
<<.example 4 """\function tab() [charcode[9]]
|
||||
|
||||
<pre><$text text={{{[[.concat]getvariablejson[]jsonextract[srcVariable],[params]format:json<tab>]}}}/></pre>
|
||||
""">>
|
||||
|
||||
''Expected''
|
||||
|
||||
<<.example 5 """\function tab() [charcode[9]]
|
||||
|
||||
<pre><$text text={{{[[.concat]format:variable[]]}}}/></pre>
|
||||
""">>
|
Loading…
x
Reference in New Issue
Block a user