Hi Jeremy,

just another tweak which might be needed for a future release - when 
slicing, the name offered (Prefix for extracted tiddlers) is the name of 
the previous tiddler which has been sliced rather than the one currently 
being operated on.

Regards
Jon

On Friday, 17 January 2020 12:06:55 UTC, Jeremy Ruston wrote:
>
> Hi Jon
>
> I've been playing around with the Text slicer plug-in and noticed that the 
>> option to produce "One tiddler per heading, threaded (HTML)" doesn't 
>> produce the table of contents correctly. The ! is shown next to each 
>> heading in the TOC and the heading font size is applied to the whole text. 
>> It works fine for the "One tiddler per paragraph" option.
>>
>
> Ouch, that is indeed a bug with the display of the outline.
>
> Also, the Tiddler per heading option exports as HTML when Wiki text is 
> selected - the Tiddler per paragraph option works as expected.
>
>
> The rulesets can optionally provide wikitext equivalents for HTML 
> elements, but that doesn’t make sense for all the provided rulesets.
>
> For example, the 
> ruleset $:/plugins/tiddlywiki/text-slicer/slicer-rules/html-by-paragraph.json 
> contains this rule for handling blockquotes:
>
>
> {
> "selector": "blockquote",
> "actions": {
> "startNewChunk": {
> "toc-type": "paragraph"
> },
> "markup": {
> "wiki": {
> "prefix": "<<<\n",
> "suffix": "<<<\n"
> }
> }
> }
> },
>
> But the 
> ruleset $:/plugins/tiddlywiki/text-slicer/slicer-rules/html-linear.json is 
> much simpler, and doesn’t distinguish between different elements, and 
> therefore can’t provide wikitext equivalents.
>
> Best wishes
>
> Jeremy.
>
>
>
>
> Regards
>> Jon
>>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddl...@googlegroups.com <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e7046c54-7c97-477f-b3cf-978a5d2a0c0d%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/e7046c54-7c97-477f-b3cf-978a5d2a0c0d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9ec842fb-e950-4ad9-ab72-4cb8a3dd9f4c%40googlegroups.com.

Reply via email to