mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 02:26:47 +00:00
Text-slicer: Add support for notes within documents
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/note
|
||||
|
||||
\define body()
|
||||
<div class="tc-slice-note">
|
||||
|
||||
<$link tag="div" class="tc-document-tiddler-link tc-document-tiddler">
|
||||
|
||||
<$list filter="""[all[current]] $(tv-exclude-filter)$ +[limit[1]]""" variable="item">
|
||||
|
||||
<$transclude/>
|
||||
|
||||
</$list>
|
||||
|
||||
</$link>
|
||||
|
||||
</div>
|
||||
\end
|
||||
|
||||
<<body>>
|
||||
@@ -16,6 +16,10 @@ title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler
|
||||
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/paragraph" mode="block"/>
|
||||
</$reveal>
|
||||
|
||||
<$reveal type="match" state="!!toc-type" text="note">
|
||||
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/note" mode="block"/>
|
||||
</$reveal>
|
||||
|
||||
<$reveal type="match" state="!!toc-type" text="list">
|
||||
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/list" mode="block"/>
|
||||
</$reveal>
|
||||
|
||||
Reference in New Issue
Block a user