1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-07 20:44:23 +00:00
TiddlyWiki5/core/ui/ViewTemplate/body.tid

25 lines
724 B
Plaintext
Raw Normal View History

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]]">
2014-07-12 08:09:36 +00:00
<$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}}/>
2014-07-12 08:09:36 +00:00
</$list>
"""/>
</$reveal>