1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00
The requirement to whitelist system tiddlers that need wikifying was
too burdensome
This commit is contained in:
Jermolene 2017-06-24 17:48:18 +01:00
parent d89010752a
commit a4989f5c4d

View File

@ -1,24 +1,16 @@
title: $:/core/ui/ViewTemplate/body title: $:/core/ui/ViewTemplate/body
tags: $:/tags/ViewTemplate tags: $:/tags/ViewTemplate
\define re() ^\$\:\/([^/])*$
<$reveal tag="div" class="tc-tiddler-body" type="nomatch" state=<<folded-state>> text="hide" retain="yes" animate="yes"> <$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]!has[plugin-type]!field:hide-body[yes]]">
<$list filter="[all[current]!is[system]] [all[current]is[system]type[text/vnd.tiddlywiki]] [all[current]tag[$:/tags/Image]] [all[current]regexp<re>] +[!has[plugin-type]!field:hide-body[yes]]"> <$transclude>
<$transclude/> <$transclude tiddler="$:/language/MissingTiddler/Hint"/>
</$transclude>
</$list> </$list>
<$list filter="[all[current]is[system]!type[text/vnd.tiddlywiki]] -[all[current]tag[$:/tags/Image]] -[all[current]regexp<re>] +[!has[plugin-type]!field:hide-body[yes]]">
<$codeblock code={{!!text}} language={{!!type}}/>
</$list>
"""/>
</$reveal> </$reveal>