1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-06 10:50:45 +00:00
TiddlyWiki5/plugins/tiddlywiki/text-slicer/templates/static/heading.tid
Jermolene 4ea5dce284 Text-slicer improvements
1. Switch from using the text field of lists for storing the associated
filter to using the field `toc-list-filter` (to make it harder to
accidentally parse the text of an ordinary tiddler as a filter)
2. Fix several bugs
2015-09-04 08:42:07 +01:00

11 lines
322 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"/>
\end
<$macrocall $name="body" level={{!!toc-heading-level}}/>