Hi Mat, On Tuesday, April 7, 2020 at 10:18:26 PM UTC+4:30, Mat wrote: > > Mohammad wrote: >> >> Why not use a viewtemplate? >> > > I'm not sure how to do that in a good way. Please feel free to mutilate or > improve my thingy. >
I have modified the original tabber as below and it works out of the box!
1. The macro/tabber has got a new tag as $:/tags/ViewTemplate
2. The below stylesheet tiddler was added
1. text: [data-tags*="tabber"] .tc-tiddler-body { display:none; }
2. tag: $:/tags/Stylesheet
3. The tiddler SomeText has new tag tabber
That 's all. Now each tiddler with tabber tag which has several headings is
displayed in tabs instead of normal text!
I extracted the above three tiddlers and attached the modified ones for
quick test in https://tiddlywiki.com/prerelease/
>
>
>
>> minor suggestion why not use \n for line break?
>>
>
> Minor suggestion but superior to my silly looking line breaks. Updated.
> Thanks.
>
>
> Many TW newcomers request a small table of contents like Wikipedia! tabber
>> can create
>> a small toc top right with a little modification in the current code!
>
>
> Isn't the wikipedia ToC typically a list of links rather than tabs? What
> would show in the tabs? Again, do feel free to tweak around if you're onto
> something.
>
Yep, you are right, sadly the TOC items are not linkable here!
>
> <:-)
>
--
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/8b1bd305-1b22-48ec-8b30-22466af49d4e%40googlegroups.com.
Mat's-Tabber-Idea.json
Description: application/json

