mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-30 04:11:32 -08:00
parent
684e4feff5
commit
93771fdf27
1 changed files with 13 additions and 5 deletions
|
|
@ -1,16 +1,24 @@
|
|||
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]!has[plugin-type]!field:hide-body[yes]]">
|
||||
<$list filter="[all[current]is[missing]!is[shadow]]" template="$:/language/MissingTiddler/Hint" emptyMessage="""
|
||||
|
||||
<$transclude>
|
||||
<$list filter="[all[current]!is[system]] [all[current]tag[$:/tags/Image]] [all[current]regexp<re>] +[!has[plugin-type]!field:hide-body[yes]]">
|
||||
|
||||
<$transclude tiddler="$:/language/MissingTiddler/Hint"/>
|
||||
|
||||
</$transclude>
|
||||
<$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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue