mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-06 10:50:45 +00:00
4ea5dce284
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
11 lines
322 B
Plaintext
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}}/>
|