mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 15:24:50 +00:00
8488a13761
A first pass at a plugin that splits formatted text into individual tiddlers according to lists and headings.
13 lines
645 B
Plaintext
13 lines
645 B
Plaintext
title: $:/plugins/tiddlywiki/text-slicer/ui/slice-button
|
|
tags: $:/tags/ViewToolbar
|
|
caption: {{$:/plugins/tiddlywiki/text-slicer/text-slicer-icon}} Slice tiddler
|
|
description: Slice this tiddler by headings and lists
|
|
|
|
<$button message="tm-slice-tiddler" param=<<currentTiddler>> tooltip={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<<tv-config-toolbar-class>>>
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
|
{{$:/plugins/tiddlywiki/text-slicer/text-slicer-icon}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
|
<span class="tc-btn-text">Slice tiddler</span>
|
|
</$list>
|
|
</$button> |