1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-02 14:29:55 +00:00
TiddlyWiki5/core/templates/store.injected.template.html.tid
2024-03-11 15:42:03 +01:00

22 lines
659 B
Plaintext

title: $:/core/templates/store.injected.template.html
\whitespace trim
<!-- Unencrypted -->
<$list filter="[[$:/isEncrypted]get[text]else[no]match[no]]">
<$list filter="[[storeAreaFormat]is[variable]getvariable[]else[json]match[json]]">
<!-- New-style JSON store area -->
`<script class="tiddlywiki-tiddler-store" type="application/json">[`
<$let
newline={{{ [charcode[10]] }}}
join=`,$(newline)$`
>
<$text text=<<newline>>/>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/InjectCustomTiddlers]]">
<$transclude mode=block/>
</$list>
<$text text=<<newline>>/>
</$let>
`]</script>`
</$list>
</$list>