mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 07:44:51 +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>
|