mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 05:26:41 +00:00
Text-slicer: Add support for definition lists
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/def-list
|
||||
|
||||
\define body()
|
||||
<dl>
|
||||
<$list filter="""[all[current]] $(tv-exclude-filter)$ +[limit[1]]""" variable="item">
|
||||
<$list filter={{!!toc-list-filter}} template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler"/>
|
||||
</$list>
|
||||
</dl>
|
||||
\end
|
||||
|
||||
<<body>>
|
||||
@@ -0,0 +1,11 @@
|
||||
title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/definition
|
||||
|
||||
\define body()
|
||||
<$link tag="dd" class="tc-document-tiddler-link">
|
||||
|
||||
<$transclude/>
|
||||
|
||||
</$link>
|
||||
\end
|
||||
|
||||
<<body>>
|
||||
@@ -0,0 +1,11 @@
|
||||
title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/term
|
||||
|
||||
\define body()
|
||||
<$link tag="dt" class="tc-document-tiddler-link">
|
||||
|
||||
<$transclude/>
|
||||
|
||||
</$link>
|
||||
\end
|
||||
|
||||
<<body>>
|
||||
@@ -27,3 +27,15 @@ title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler
|
||||
<$reveal type="match" state="!!toc-type" text="image">
|
||||
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/image" mode="block"/>
|
||||
</$reveal>
|
||||
|
||||
<$reveal type="match" state="!!toc-type" text="def-list">
|
||||
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/def-list" mode="block"/>
|
||||
</$reveal>
|
||||
|
||||
<$reveal type="match" state="!!toc-type" text="term">
|
||||
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/term" mode="block"/>
|
||||
</$reveal>
|
||||
|
||||
<$reveal type="match" state="!!toc-type" text="definition">
|
||||
<$transclude tiddler="$:/plugins/tiddlywiki/text-slicer/templates/interactive/definition" mode="block"/>
|
||||
</$reveal>
|
||||
|
||||
Reference in New Issue
Block a user