mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 23:39:57 +00:00
3da0a9431c
And also $:/tags/Global/View and $:/tags/Global/View/Body
11 lines
640 B
Plaintext
11 lines
640 B
Plaintext
title: $:/core/ui/EditTemplate/body/preview/output
|
|
tags: $:/tags/EditPreview
|
|
caption: {{$:/language/EditTemplate/Body/Preview/Type/Output}}
|
|
|
|
\import [all[shadows+tiddlers]tag[$:/tags/Macro/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Macro/View/Body]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View/Body]!is[draft]]
|
|
<$set name="tv-tiddler-preview" value="yes">
|
|
|
|
<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateBodyFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/body/default]] }}} />
|
|
|
|
</$set>
|