1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 19:23:29 +00:00
TiddlyWiki5/core/ui/ViewTemplate/body.tid
2017-03-27 10:00:31 +01:00

25 lines
724 B
Plaintext

title: $:/core/ui/ViewTemplate/body
tags: $:/tags/ViewTemplate
\define re() ^\$\:\/([^/])*$
<$reveal tag="div" class="tc-tiddler-body" type="nomatch" state=<<folded-state>> text="hide" retain="yes" animate="yes">
<$list filter="[all[current]is[missing]!is[shadow]]" template="$:/language/MissingTiddler/Hint" emptyMessage="""
<$list filter="[all[current]!is[system]] [all[current]tag[$:/tags/Image]] [all[current]regexp<re>] +[!has[plugin-type]!field:hide-body[yes]]">
<$transclude/>
</$list>
<$list filter="[all[current]is[system]] -[all[current]tag[$:/tags/Image]] -[all[current]regexp<re>] +[!has[plugin-type]!field:hide-body[yes]]">
<$codeblock code={{!!text}} language={{!!type}}/>
</$list>
"""/>
</$reveal>