mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-30 14:46: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>
|