mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Text-Slicer: update docs and change default view
This commit is contained in:
parent
46087fd270
commit
97979e1fb1
@ -29,6 +29,13 @@ These tiddlers are bound together using tagging: child tiddlers are tagged with
|
|||||||
|
|
||||||
Slicing generates the following component tiddlers:
|
Slicing generates the following component tiddlers:
|
||||||
|
|
||||||
|
!!! Document
|
||||||
|
|
||||||
|
The document itself is represented by a tiddler with the following fields:
|
||||||
|
|
||||||
|
* ''title'': the text ''"Sliced up "'' plus the title of the tiddler that was sliced
|
||||||
|
* ''text'': the text `{{||$:/plugins/tiddlywiki/text-slicer/templates/display-document}}`
|
||||||
|
|
||||||
!!! Headings
|
!!! Headings
|
||||||
|
|
||||||
Tiddlers representing headings have the following fields:
|
Tiddlers representing headings have the following fields:
|
||||||
|
@ -15,7 +15,7 @@ $:/plugins/tiddlywiki/text-slicer/config/view-type/$(currentTiddler)$
|
|||||||
\define display-tiddler()
|
\define display-tiddler()
|
||||||
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
||||||
|
|
||||||
View: <$select tiddler=<<config-view-type>> default="display-document">
|
View: <$select tiddler=<<config-view-type>> default="toc-tabbed-internal-nav">
|
||||||
<option value="display-document">Document</option>
|
<option value="display-document">Document</option>
|
||||||
<option value="toc-selective-expandable">Outline</option>
|
<option value="toc-selective-expandable">Outline</option>
|
||||||
<option value="toc-tabbed-internal-nav">Tabbed outline</option>
|
<option value="toc-tabbed-internal-nav">Tabbed outline</option>
|
||||||
@ -29,7 +29,7 @@ View: <$select tiddler=<<config-view-type>> default="display-document">
|
|||||||
|
|
||||||
<$list filter="[field:title[$(config-view-type)$]]" variable="listItem" emptyMessage="""
|
<$list filter="[field:title[$(config-view-type)$]]" variable="listItem" emptyMessage="""
|
||||||
|
|
||||||
<$macrocall $name="display-document" tag=<<currentTiddler>> template="$:/plugins/tiddlywiki/text-slicer/templates/toc-entry"/>
|
<$macrocall $name="toc-tabbed-internal-nav" tag=<<currentTiddler>> template="$:/plugins/tiddlywiki/text-slicer/templates/toc-entry"/>
|
||||||
|
|
||||||
""">
|
""">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user