mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-06 02:40:44 +00:00
0be82ea7fb
Much easier to have separate sets of templates for interactive vs static document trees
11 lines
338 B
Plaintext
11 lines
338 B
Plaintext
title: $:/plugins/tiddlywiki/text-slicer/templates/static/heading
|
|
|
|
\define body(level:"h1")
|
|
<$level$>
|
|
<$view field="text"/>
|
|
</$level$>
|
|
<$list filter="[tag<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/static/tiddler" listItem="item"/>
|
|
\end
|
|
|
|
<$macrocall $name="body" level={{!!toc-heading-level}}/>
|