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 [email protected] 
> <mailto:[email protected]>.
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/AC7AFC03-F115-46C2-BE0E-87726ACD45DE%40gmail.com.

Reply via email to