mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +00:00
2adf09129d
Tada!
26 lines
516 B
Plaintext
26 lines
516 B
Plaintext
title: $:/plugins/tiddlywiki/internals/EditTemplate/body/preview/shared
|
|
|
|
\define body()
|
|
|
|
Mode: <$select tiddler="$(tv-mode-configuration)$" default="block">
|
|
<option value="inline">Inline</option>
|
|
<option value="block">Block</option>
|
|
</$select>
|
|
|
|
<$macrocall $name="preview" mode={{$(tv-mode-configuration)$}}/>
|
|
\end
|
|
|
|
<div class="tc-internal-tree-preview-wrapper">
|
|
|
|
<div class="tc-internal-tree-preview">
|
|
|
|
<$vars tv-mode-configuration=<<qualify "$:/state/internals/preview/mode">>>
|
|
|
|
<<body>>
|
|
|
|
</$vars>
|
|
|
|
</div>
|
|
|
|
</div>
|