mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
26 lines
616 B
Plaintext
26 lines
616 B
Plaintext
title: $:/plugins/tiddlywiki/text-slicer/templates/display-document
|
|
|
|
\define config-show-toolbar()
|
|
$:/plugins/tiddlywiki/text-slicer/config/show-toolbar/$(currentTiddler)$
|
|
\end
|
|
|
|
\define display-tiddler()
|
|
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
|
|
|
<$checkbox tiddler=<<config-show-toolbar>> field="text" checked="yes" unchecked="no" default="no"> Show toolbar</$checkbox>
|
|
|
|
<div class='tc-table-of-contents'>
|
|
|
|
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
|
|
|
<$macrocall $name="toc-tabbed-internal-nav" tag=<<currentTiddler>>/>
|
|
|
|
</$set>
|
|
|
|
</div>
|
|
|
|
</$set>
|
|
\end
|
|
|
|
<<display-tiddler>>
|