Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-09-02 Thread Charlie Veniot
I might be a little bit slow upgrading Relink in all of my TiddlyWikis ...

On Friday, September 3, 2021 at 12:51:02 AM UTC-3 Flibbles wrote:

> Hey all! So you should not need...
>
> <$transclude tiddler={{ This_Tiddler!!title }} mode="block"/>
>
> Relink has <$transclude tiddler /> already configured in its whitelist, 
> so...
>
> <$transclude tiddler="This_Tiddler" mode="block"/>
>
> should work just fine. No need for weird syntax gymnastics.
>
> -Flibbles
> On Monday, August 30, 2021 at 10:17:48 AM UTC-4 cj.v...@gmail.com wrote:
>
>> Arg, sorry.  Forgot about the quotes.
>>
>> I almost never specify a tiddler title with quotes.
>>
>> For example, if transcluding a tiddler called "This_Tiddler", my 
>> transclude would look like this:
>>
>> <$transclude tiddler={{ This_Tiddler!!title }} mode="block"/>
>>
>>
>> I'm an incessant tweaker by nature, so often change my tiddler titles to 
>> get them just right as tiddler content/scope/purpose evolves, and tiddler 
>> titles in quotes don't get changed upon save of a tiddler with the new 
>> title.
>>
>> The Relink plugin, though, comes to the rescue as long as I reference 
>> titles as per that transclude sample above.
>> On Monday, August 30, 2021 at 10:48:10 AM UTC-3 theok...@gmail.com wrote:
>>
>>>   That worked! Thank you! I just had to put quotes around the tiddler 
>>> title.
>>>
>>> On Monday, August 30, 2021 at 9:32:20 AM UTC-4 cj.v...@gmail.com wrote:
>>> G'day,
>>>
>>> If you are using "{{}}" for transclusion, try the transclude widget 
>>> instead with mode = "block" *(i.e.  <$transclude 
>>> tiddler=your_tiddler's_title mode="block"/>).*
>>>
>>>
>>>
>>> On Monday, August 30, 2021 at 9:32:20 AM UTC-4 cj.v...@gmail.com wrote:
>>>
 G'day,

 If you are using "{{}}" for transclusion, try the transclude widget 
 instead with mode = "block" *(i.e.  <$transclude 
 tiddler=your_tiddler's_title mode="block"/>).*



 On Monday, August 30, 2021 at 10:20:32 AM UTC-3 theok...@gmail.com 
 wrote:

> @ TW Tones
>
> Is there a way for this to work with other wikitext after the closing 
> summary? I use a lot of wikitext tables and mine isn't working. By that I 
> mean my "HelloThere" for transclusion is a big table formatted using 
> wikitext.
>
> On Sunday, August 29, 2021 at 10:38:38 PM UTC-4 TW Tones wrote:
>
>> Actually the summary tag can contain wiki text.
>>
>> I have used it to allow editing 
>> {{tiddlername||$:/core/ui/Buttons/edit}}
>>
>> HelloThere 
>> {{HelloThere||$:/core/ui/Buttons/edit}}
>>
>> {{HelloThere}}
>> 
>>
>> I also use filtered transclusion to count something and display that 
>> in the summary so there is not need to open it if there are no cases (=0)
>> Or wrap the whole thing to optionally display
>>
>> <$list filter="display condition" variable=nul emptyMessage="No 
>> details message">
>> HelloThere 
>> {{HelloThere||$:/core/ui/Buttons/edit}}
>>
>> {{HelloThere}}
>> 
>> 
>>
>> Regards
>> Tones
>> On Monday, 30 August 2021 at 07:56:32 UTC+10 cj.v...@gmail.com wrote:
>>
>>> Not only can summary be styled, but details can be styled too, as 
>>> per this snippet from the tiddlers included in that earlier attachment 
>>> of 
>>> mine:
>>>
>>> <*details* style="background-color:white;border:1px solid 
>>> lightgray;">
>>>   <*summary* 
>>> style="font-size:1.5em;background-color:white;border:1px solid 
>>> lightgray;">{{!!title}}<$link>*
>>>
>>> <$transclude tiddler=<> mode="block"/>
>>> 
>>>
>>> On Sunday, August 29, 2021 at 6:50:24 PM UTC-3 theok...@gmail.com 
>>> wrote:
>>>
 To add to what @David Gifford said I've been tinkering with the 
 details html element today. They documentation I was reading said it 
 didn't 
 support any attributes besides open/close.

 BUT...  I discovered SUMMARY which is used to change it's name DOES.

 
 >>> style="background-color:green;color:white;font-weight:bold;width:220px;">TESTING
  
 DETAILS STYLES

 Testing a bunch of testing text. a bunch and more and more and more.
 

 On Sunday, August 29, 2021 at 11:39:51 AM UTC-4 cj.v...@gmail.com 
 wrote:

> Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all 
> gobbledygook to me.
>
> There is a sweet spot for adequate WikiText:
>
>- complex WikiText formatting markup is bad
>- not enough simple WikiText formatting markup is bad
>- too much simple WikiText formatting markup is bad
>- not enough depends on the person; too much also depends on 
>the person
>
> That can be a drag when one needs some complicated formatting that 
> 

Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-09-02 Thread Flibbles
Hey all! So you should not need...

<$transclude tiddler={{ This_Tiddler!!title }} mode="block"/>

Relink has <$transclude tiddler /> already configured in its whitelist, 
so...

<$transclude tiddler="This_Tiddler" mode="block"/>

should work just fine. No need for weird syntax gymnastics.

-Flibbles
On Monday, August 30, 2021 at 10:17:48 AM UTC-4 cj.v...@gmail.com wrote:

> Arg, sorry.  Forgot about the quotes.
>
> I almost never specify a tiddler title with quotes.
>
> For example, if transcluding a tiddler called "This_Tiddler", my 
> transclude would look like this:
>
> <$transclude tiddler={{ This_Tiddler!!title }} mode="block"/>
>
>
> I'm an incessant tweaker by nature, so often change my tiddler titles to 
> get them just right as tiddler content/scope/purpose evolves, and tiddler 
> titles in quotes don't get changed upon save of a tiddler with the new 
> title.
>
> The Relink plugin, though, comes to the rescue as long as I reference 
> titles as per that transclude sample above.
> On Monday, August 30, 2021 at 10:48:10 AM UTC-3 theok...@gmail.com wrote:
>
>>   That worked! Thank you! I just had to put quotes around the tiddler 
>> title.
>>
>> On Monday, August 30, 2021 at 9:32:20 AM UTC-4 cj.v...@gmail.com wrote:
>> G'day,
>>
>> If you are using "{{}}" for transclusion, try the transclude widget 
>> instead with mode = "block" *(i.e.  <$transclude 
>> tiddler=your_tiddler's_title mode="block"/>).*
>>
>>
>>
>> On Monday, August 30, 2021 at 9:32:20 AM UTC-4 cj.v...@gmail.com wrote:
>>
>>> G'day,
>>>
>>> If you are using "{{}}" for transclusion, try the transclude widget 
>>> instead with mode = "block" *(i.e.  <$transclude 
>>> tiddler=your_tiddler's_title mode="block"/>).*
>>>
>>>
>>>
>>> On Monday, August 30, 2021 at 10:20:32 AM UTC-3 theok...@gmail.com 
>>> wrote:
>>>
 @ TW Tones

 Is there a way for this to work with other wikitext after the closing 
 summary? I use a lot of wikitext tables and mine isn't working. By that I 
 mean my "HelloThere" for transclusion is a big table formatted using 
 wikitext.

 On Sunday, August 29, 2021 at 10:38:38 PM UTC-4 TW Tones wrote:

> Actually the summary tag can contain wiki text.
>
> I have used it to allow editing 
> {{tiddlername||$:/core/ui/Buttons/edit}}
>
> HelloThere 
> {{HelloThere||$:/core/ui/Buttons/edit}}
>
> {{HelloThere}}
> 
>
> I also use filtered transclusion to count something and display that 
> in the summary so there is not need to open it if there are no cases (=0)
> Or wrap the whole thing to optionally display
>
> <$list filter="display condition" variable=nul emptyMessage="No 
> details message">
> HelloThere 
> {{HelloThere||$:/core/ui/Buttons/edit}}
>
> {{HelloThere}}
> 
> 
>
> Regards
> Tones
> On Monday, 30 August 2021 at 07:56:32 UTC+10 cj.v...@gmail.com wrote:
>
>> Not only can summary be styled, but details can be styled too, as per 
>> this snippet from the tiddlers included in that earlier attachment of 
>> mine:
>>
>> <*details* style="background-color:white;border:1px solid 
>> lightgray;">
>>   <*summary* 
>> style="font-size:1.5em;background-color:white;border:1px solid 
>> lightgray;">{{!!title}}<$link>*
>>
>> <$transclude tiddler=<> mode="block"/>
>> 
>>
>> On Sunday, August 29, 2021 at 6:50:24 PM UTC-3 theok...@gmail.com 
>> wrote:
>>
>>> To add to what @David Gifford said I've been tinkering with the 
>>> details html element today. They documentation I was reading said it 
>>> didn't 
>>> support any attributes besides open/close.
>>>
>>> BUT...  I discovered SUMMARY which is used to change it's name DOES.
>>>
>>> 
>>> >> style="background-color:green;color:white;font-weight:bold;width:220px;">TESTING
>>>  
>>> DETAILS STYLES
>>>
>>> Testing a bunch of testing text. a bunch and more and more and more.
>>> 
>>>
>>> On Sunday, August 29, 2021 at 11:39:51 AM UTC-4 cj.v...@gmail.com 
>>> wrote:
>>>
 Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all 
 gobbledygook to me.

 There is a sweet spot for adequate WikiText:

- complex WikiText formatting markup is bad
- not enough simple WikiText formatting markup is bad
- too much simple WikiText formatting markup is bad
- not enough depends on the person; too much also depends on 
the person

 That can be a drag when one needs some complicated formatting that 
 isn't available in WikiText (or whatever markup).

 But having to fall back on HTML/CSS isn't so bad.  With TiddlyWiki, 
 it can be plug and play.  Grab somebody else's HTML/CSS, drop it in 
 some 
 tiddlers, and forget about it.

 Ideally, any HTML 

Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-08-30 Thread Charlie Veniot
Arg, sorry.  Forgot about the quotes.

I almost never specify a tiddler title with quotes.

For example, if transcluding a tiddler called "This_Tiddler", my transclude 
would look like this:

<$transclude tiddler={{ This_Tiddler!!title }} mode="block"/>


I'm an incessant tweaker by nature, so often change my tiddler titles to 
get them just right as tiddler content/scope/purpose evolves, and tiddler 
titles in quotes don't get changed upon save of a tiddler with the new 
title.

The Relink plugin, though, comes to the rescue as long as I reference 
titles as per that transclude sample above.
On Monday, August 30, 2021 at 10:48:10 AM UTC-3 theok...@gmail.com wrote:

>   That worked! Thank you! I just had to put quotes around the tiddler 
> title.
>
> On Monday, August 30, 2021 at 9:32:20 AM UTC-4 cj.v...@gmail.com wrote:
> G'day,
>
> If you are using "{{}}" for transclusion, try the transclude widget 
> instead with mode = "block" *(i.e.  <$transclude 
> tiddler=your_tiddler's_title mode="block"/>).*
>
>
>
> On Monday, August 30, 2021 at 9:32:20 AM UTC-4 cj.v...@gmail.com wrote:
>
>> G'day,
>>
>> If you are using "{{}}" for transclusion, try the transclude widget 
>> instead with mode = "block" *(i.e.  <$transclude 
>> tiddler=your_tiddler's_title mode="block"/>).*
>>
>>
>>
>> On Monday, August 30, 2021 at 10:20:32 AM UTC-3 theok...@gmail.com wrote:
>>
>>> @ TW Tones
>>>
>>> Is there a way for this to work with other wikitext after the closing 
>>> summary? I use a lot of wikitext tables and mine isn't working. By that I 
>>> mean my "HelloThere" for transclusion is a big table formatted using 
>>> wikitext.
>>>
>>> On Sunday, August 29, 2021 at 10:38:38 PM UTC-4 TW Tones wrote:
>>>
 Actually the summary tag can contain wiki text.

 I have used it to allow editing {{tiddlername||$:/core/ui/Buttons/edit}}

 HelloThere 
 {{HelloThere||$:/core/ui/Buttons/edit}}

 {{HelloThere}}
 

 I also use filtered transclusion to count something and display that in 
 the summary so there is not need to open it if there are no cases (=0)
 Or wrap the whole thing to optionally display

 <$list filter="display condition" variable=nul emptyMessage="No details 
 message">
 HelloThere 
 {{HelloThere||$:/core/ui/Buttons/edit}}

 {{HelloThere}}
 
 

 Regards
 Tones
 On Monday, 30 August 2021 at 07:56:32 UTC+10 cj.v...@gmail.com wrote:

> Not only can summary be styled, but details can be styled too, as per 
> this snippet from the tiddlers included in that earlier attachment of 
> mine:
>
> <*details* style="background-color:white;border:1px solid lightgray;">
>   <*summary* style="font-size:1.5em;background-color:white;border:1px 
> solid lightgray;">{{!!title}}<$link>*
>
> <$transclude tiddler=<> mode="block"/>
> 
>
> On Sunday, August 29, 2021 at 6:50:24 PM UTC-3 theok...@gmail.com 
> wrote:
>
>> To add to what @David Gifford said I've been tinkering with the 
>> details html element today. They documentation I was reading said it 
>> didn't 
>> support any attributes besides open/close.
>>
>> BUT...  I discovered SUMMARY which is used to change it's name DOES.
>>
>> 
>> > style="background-color:green;color:white;font-weight:bold;width:220px;">TESTING
>>  
>> DETAILS STYLES
>>
>> Testing a bunch of testing text. a bunch and more and more and more.
>> 
>>
>> On Sunday, August 29, 2021 at 11:39:51 AM UTC-4 cj.v...@gmail.com 
>> wrote:
>>
>>> Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all 
>>> gobbledygook to me.
>>>
>>> There is a sweet spot for adequate WikiText:
>>>
>>>- complex WikiText formatting markup is bad
>>>- not enough simple WikiText formatting markup is bad
>>>- too much simple WikiText formatting markup is bad
>>>- not enough depends on the person; too much also depends on the 
>>>person
>>>
>>> That can be a drag when one needs some complicated formatting that 
>>> isn't available in WikiText (or whatever markup).
>>>
>>> But having to fall back on HTML/CSS isn't so bad.  With TiddlyWiki, 
>>> it can be plug and play.  Grab somebody else's HTML/CSS, drop it in 
>>> some 
>>> tiddlers, and forget about it.
>>>
>>> Ideally, any HTML (well, anything particularly complicated/messy) 
>>> you do need can be put in a template tiddler, and then it is just a 
>>> matter 
>>> of applying that template anywhere you need via the beauty of 
>>> transclusion 
>>> and then you never need to put your eyeballs on that HTML again.  Well, 
>>> maybe once in a blue moon when really necessary.
>>>
>>> Yeah, I go bananas for transclusion ...
>>>
>>>
>>>
>>>
>>>
>>> On Sunday, August 29, 2021 at 3:17:09 AM UTC-3 Sandip Deshmukh wrote:

Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-08-30 Thread Paul Hampshire
  That worked! Thank you! I just had to put quotes around the tiddler title.

On Monday, August 30, 2021 at 9:32:20 AM UTC-4 cj.v...@gmail.com wrote:
G'day,

If you are using "{{}}" for transclusion, try the transclude widget instead 
with mode = "block" *(i.e.  <$transclude tiddler=your_tiddler's_title 
mode="block"/>).*



On Monday, August 30, 2021 at 9:32:20 AM UTC-4 cj.v...@gmail.com wrote:

> G'day,
>
> If you are using "{{}}" for transclusion, try the transclude widget 
> instead with mode = "block" *(i.e.  <$transclude 
> tiddler=your_tiddler's_title mode="block"/>).*
>
>
>
> On Monday, August 30, 2021 at 10:20:32 AM UTC-3 theok...@gmail.com wrote:
>
>> @ TW Tones
>>
>> Is there a way for this to work with other wikitext after the closing 
>> summary? I use a lot of wikitext tables and mine isn't working. By that I 
>> mean my "HelloThere" for transclusion is a big table formatted using 
>> wikitext.
>>
>> On Sunday, August 29, 2021 at 10:38:38 PM UTC-4 TW Tones wrote:
>>
>>> Actually the summary tag can contain wiki text.
>>>
>>> I have used it to allow editing {{tiddlername||$:/core/ui/Buttons/edit}}
>>>
>>> HelloThere 
>>> {{HelloThere||$:/core/ui/Buttons/edit}}
>>>
>>> {{HelloThere}}
>>> 
>>>
>>> I also use filtered transclusion to count something and display that in 
>>> the summary so there is not need to open it if there are no cases (=0)
>>> Or wrap the whole thing to optionally display
>>>
>>> <$list filter="display condition" variable=nul emptyMessage="No details 
>>> message">
>>> HelloThere 
>>> {{HelloThere||$:/core/ui/Buttons/edit}}
>>>
>>> {{HelloThere}}
>>> 
>>> 
>>>
>>> Regards
>>> Tones
>>> On Monday, 30 August 2021 at 07:56:32 UTC+10 cj.v...@gmail.com wrote:
>>>
 Not only can summary be styled, but details can be styled too, as per 
 this snippet from the tiddlers included in that earlier attachment of mine:

 <*details* style="background-color:white;border:1px solid lightgray;">
   <*summary* style="font-size:1.5em;background-color:white;border:1px 
 solid lightgray;">{{!!title}}<$link>*

 <$transclude tiddler=<> mode="block"/>
 

 On Sunday, August 29, 2021 at 6:50:24 PM UTC-3 theok...@gmail.com 
 wrote:

> To add to what @David Gifford said I've been tinkering with the 
> details html element today. They documentation I was reading said it 
> didn't 
> support any attributes besides open/close.
>
> BUT...  I discovered SUMMARY which is used to change it's name DOES.
>
> 
>  style="background-color:green;color:white;font-weight:bold;width:220px;">TESTING
>  
> DETAILS STYLES
>
> Testing a bunch of testing text. a bunch and more and more and more.
> 
>
> On Sunday, August 29, 2021 at 11:39:51 AM UTC-4 cj.v...@gmail.com 
> wrote:
>
>> Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all 
>> gobbledygook to me.
>>
>> There is a sweet spot for adequate WikiText:
>>
>>- complex WikiText formatting markup is bad
>>- not enough simple WikiText formatting markup is bad
>>- too much simple WikiText formatting markup is bad
>>- not enough depends on the person; too much also depends on the 
>>person
>>
>> That can be a drag when one needs some complicated formatting that 
>> isn't available in WikiText (or whatever markup).
>>
>> But having to fall back on HTML/CSS isn't so bad.  With TiddlyWiki, 
>> it can be plug and play.  Grab somebody else's HTML/CSS, drop it in some 
>> tiddlers, and forget about it.
>>
>> Ideally, any HTML (well, anything particularly complicated/messy) you 
>> do need can be put in a template tiddler, and then it is just a matter 
>> of 
>> applying that template anywhere you need via the beauty of transclusion 
>> and 
>> then you never need to put your eyeballs on that HTML again.  Well, 
>> maybe 
>> once in a blue moon when really necessary.
>>
>> Yeah, I go bananas for transclusion ...
>>
>>
>>
>>
>>
>> On Sunday, August 29, 2021 at 3:17:09 AM UTC-3 Sandip Deshmukh wrote:
>>
>>> @Charlie,
>>>
>>> Thanks a lot. The example you showed nearly does what I wanted.
>>>
>>> But to implement it, I will need to do more than write simple 
>>> wikitext.
>>>
>>> I was looking to solution like Emacs org-mode Visibility Cycling 
>>> .
>>>
>>>
>>> @David
>>>
>>> Thanks a ton!
>>>
>>> Your code snippet came in handy for something else that was 
>>> bothering me.  And that is solved now.
>>>
>>> But for collapse/ expand headings, it requires additional markup. 
>>> That would be too cumbersome to implement.
>>>
>>>
>>>
>>> On 29/08/21 4:24 am, David Gifford wrote:
>>>
>>> Everyone always forgets the simplest solution to this. The HTML 

Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-08-30 Thread Charlie Veniot
G'day,

If you are using "{{}}" for transclusion, try the transclude widget instead 
with mode = "block" *(i.e.  <$transclude tiddler=your_tiddler's_title 
mode="block"/>).*



On Monday, August 30, 2021 at 10:20:32 AM UTC-3 theok...@gmail.com wrote:

> @ TW Tones
>
> Is there a way for this to work with other wikitext after the closing 
> summary? I use a lot of wikitext tables and mine isn't working. By that I 
> mean my "HelloThere" for transclusion is a big table formatted using 
> wikitext.
>
> On Sunday, August 29, 2021 at 10:38:38 PM UTC-4 TW Tones wrote:
>
>> Actually the summary tag can contain wiki text.
>>
>> I have used it to allow editing {{tiddlername||$:/core/ui/Buttons/edit}}
>>
>> HelloThere 
>> {{HelloThere||$:/core/ui/Buttons/edit}}
>>
>> {{HelloThere}}
>> 
>>
>> I also use filtered transclusion to count something and display that in 
>> the summary so there is not need to open it if there are no cases (=0)
>> Or wrap the whole thing to optionally display
>>
>> <$list filter="display condition" variable=nul emptyMessage="No details 
>> message">
>> HelloThere 
>> {{HelloThere||$:/core/ui/Buttons/edit}}
>>
>> {{HelloThere}}
>> 
>> 
>>
>> Regards
>> Tones
>> On Monday, 30 August 2021 at 07:56:32 UTC+10 cj.v...@gmail.com wrote:
>>
>>> Not only can summary be styled, but details can be styled too, as per 
>>> this snippet from the tiddlers included in that earlier attachment of mine:
>>>
>>> <*details* style="background-color:white;border:1px solid lightgray;">
>>>   <*summary* style="font-size:1.5em;background-color:white;border:1px 
>>> solid lightgray;">{{!!title}}<$link>*
>>>
>>> <$transclude tiddler=<> mode="block"/>
>>> 
>>>
>>> On Sunday, August 29, 2021 at 6:50:24 PM UTC-3 theok...@gmail.com wrote:
>>>
 To add to what @David Gifford said I've been tinkering with the details 
 html element today. They documentation I was reading said it didn't 
 support 
 any attributes besides open/close.

 BUT...  I discovered SUMMARY which is used to change it's name DOES.

 
 >>> style="background-color:green;color:white;font-weight:bold;width:220px;">TESTING
  
 DETAILS STYLES

 Testing a bunch of testing text. a bunch and more and more and more.
 

 On Sunday, August 29, 2021 at 11:39:51 AM UTC-4 cj.v...@gmail.com 
 wrote:

> Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all 
> gobbledygook to me.
>
> There is a sweet spot for adequate WikiText:
>
>- complex WikiText formatting markup is bad
>- not enough simple WikiText formatting markup is bad
>- too much simple WikiText formatting markup is bad
>- not enough depends on the person; too much also depends on the 
>person
>
> That can be a drag when one needs some complicated formatting that 
> isn't available in WikiText (or whatever markup).
>
> But having to fall back on HTML/CSS isn't so bad.  With TiddlyWiki, it 
> can be plug and play.  Grab somebody else's HTML/CSS, drop it in some 
> tiddlers, and forget about it.
>
> Ideally, any HTML (well, anything particularly complicated/messy) you 
> do need can be put in a template tiddler, and then it is just a matter of 
> applying that template anywhere you need via the beauty of transclusion 
> and 
> then you never need to put your eyeballs on that HTML again.  Well, maybe 
> once in a blue moon when really necessary.
>
> Yeah, I go bananas for transclusion ...
>
>
>
>
>
> On Sunday, August 29, 2021 at 3:17:09 AM UTC-3 Sandip Deshmukh wrote:
>
>> @Charlie,
>>
>> Thanks a lot. The example you showed nearly does what I wanted.
>>
>> But to implement it, I will need to do more than write simple 
>> wikitext.
>>
>> I was looking to solution like Emacs org-mode Visibility Cycling 
>> .
>>
>>
>> @David
>>
>> Thanks a ton!
>>
>> Your code snippet came in handy for something else that was bothering 
>> me.  And that is solved now.
>>
>> But for collapse/ expand headings, it requires additional markup. 
>> That would be too cumbersome to implement.
>>
>>
>>
>> On 29/08/21 4:24 am, David Gifford wrote:
>>
>> Everyone always forgets the simplest solution to this. The HTML 
>> details disclosure element.
>>
>> Your section header
>>
>> {{Your transcluded tiddler}} 
>>
>> 
>>
>> On Saturday, August 28, 2021 at 1:49:15 PM UTC-5 cj.v...@gmail.com 
>> wrote:
>>
>>> BTW, please remember: anything cosmetically disagreeable can be 
>>> easily adjusted via some quick CSS adjustments. 
>>>
>>> For example: different border setup or no borders, background 
>>> colors, indent of sections within other sections, etc. etc.
>>>
>>> That code demo is very rough around 

Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-08-30 Thread Paul Hampshire
@ TW Tones

Is there a way for this to work with other wikitext after the closing 
summary? I use a lot of wikitext tables and mine isn't working. By that I 
mean my "HelloThere" for transclusion is a big table formatted using 
wikitext.

On Sunday, August 29, 2021 at 10:38:38 PM UTC-4 TW Tones wrote:

> Actually the summary tag can contain wiki text.
>
> I have used it to allow editing {{tiddlername||$:/core/ui/Buttons/edit}}
>
> HelloThere 
> {{HelloThere||$:/core/ui/Buttons/edit}}
>
> {{HelloThere}}
> 
>
> I also use filtered transclusion to count something and display that in 
> the summary so there is not need to open it if there are no cases (=0)
> Or wrap the whole thing to optionally display
>
> <$list filter="display condition" variable=nul emptyMessage="No details 
> message">
> HelloThere 
> {{HelloThere||$:/core/ui/Buttons/edit}}
>
> {{HelloThere}}
> 
> 
>
> Regards
> Tones
> On Monday, 30 August 2021 at 07:56:32 UTC+10 cj.v...@gmail.com wrote:
>
>> Not only can summary be styled, but details can be styled too, as per 
>> this snippet from the tiddlers included in that earlier attachment of mine:
>>
>> <*details* style="background-color:white;border:1px solid lightgray;">
>>   <*summary* style="font-size:1.5em;background-color:white;border:1px 
>> solid lightgray;">{{!!title}}<$link>*
>>
>> <$transclude tiddler=<> mode="block"/>
>> 
>>
>> On Sunday, August 29, 2021 at 6:50:24 PM UTC-3 theok...@gmail.com wrote:
>>
>>> To add to what @David Gifford said I've been tinkering with the details 
>>> html element today. They documentation I was reading said it didn't support 
>>> any attributes besides open/close.
>>>
>>> BUT...  I discovered SUMMARY which is used to change it's name DOES.
>>>
>>> 
>>> >> style="background-color:green;color:white;font-weight:bold;width:220px;">TESTING
>>>  
>>> DETAILS STYLES
>>>
>>> Testing a bunch of testing text. a bunch and more and more and more.
>>> 
>>>
>>> On Sunday, August 29, 2021 at 11:39:51 AM UTC-4 cj.v...@gmail.com wrote:
>>>
 Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all 
 gobbledygook to me.

 There is a sweet spot for adequate WikiText:

- complex WikiText formatting markup is bad
- not enough simple WikiText formatting markup is bad
- too much simple WikiText formatting markup is bad
- not enough depends on the person; too much also depends on the 
person

 That can be a drag when one needs some complicated formatting that 
 isn't available in WikiText (or whatever markup).

 But having to fall back on HTML/CSS isn't so bad.  With TiddlyWiki, it 
 can be plug and play.  Grab somebody else's HTML/CSS, drop it in some 
 tiddlers, and forget about it.

 Ideally, any HTML (well, anything particularly complicated/messy) you 
 do need can be put in a template tiddler, and then it is just a matter of 
 applying that template anywhere you need via the beauty of transclusion 
 and 
 then you never need to put your eyeballs on that HTML again.  Well, maybe 
 once in a blue moon when really necessary.

 Yeah, I go bananas for transclusion ...





 On Sunday, August 29, 2021 at 3:17:09 AM UTC-3 Sandip Deshmukh wrote:

> @Charlie,
>
> Thanks a lot. The example you showed nearly does what I wanted.
>
> But to implement it, I will need to do more than write simple wikitext.
>
> I was looking to solution like Emacs org-mode Visibility Cycling 
> .
>
>
> @David
>
> Thanks a ton!
>
> Your code snippet came in handy for something else that was bothering 
> me.  And that is solved now.
>
> But for collapse/ expand headings, it requires additional markup. That 
> would be too cumbersome to implement.
>
>
>
> On 29/08/21 4:24 am, David Gifford wrote:
>
> Everyone always forgets the simplest solution to this. The HTML 
> details disclosure element.
>
> Your section header
>
> {{Your transcluded tiddler}} 
>
> 
>
> On Saturday, August 28, 2021 at 1:49:15 PM UTC-5 cj.v...@gmail.com 
> wrote:
>
>> BTW, please remember: anything cosmetically disagreeable can be 
>> easily adjusted via some quick CSS adjustments. 
>>
>> For example: different border setup or no borders, background colors, 
>> indent of sections within other sections, etc. etc.
>>
>> That code demo is very rough around the edges, just to prototype a 
>> design possibility.
>>
>> On Saturday, August 28, 2021 at 3:41:45 PM UTC-3 Charlie Veniot wrote:
>>
>>> Hello, 
>>>
>>> Just a code sample in case of any use.  It is just me imagining how 
>>> I'd create a basic setup to get started.  A little bit rough around the 
>>> edges.
>>>
>>> Download the attached and drag it into 

Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-08-29 Thread TW Tones
Actually the summary tag can contain wiki text.

I have used it to allow editing {{tiddlername||$:/core/ui/Buttons/edit}}

HelloThere 
{{HelloThere||$:/core/ui/Buttons/edit}}

{{HelloThere}}


I also use filtered transclusion to count something and display that in the 
summary so there is not need to open it if there are no cases (=0)
Or wrap the whole thing to optionally display

<$list filter="display condition" variable=nul emptyMessage="No details 
message">
HelloThere 
{{HelloThere||$:/core/ui/Buttons/edit}}

{{HelloThere}}



Regards
Tones
On Monday, 30 August 2021 at 07:56:32 UTC+10 cj.v...@gmail.com wrote:

> Not only can summary be styled, but details can be styled too, as per this 
> snippet from the tiddlers included in that earlier attachment of mine:
>
> <*details* style="background-color:white;border:1px solid lightgray;">
>   <*summary* style="font-size:1.5em;background-color:white;border:1px 
> solid lightgray;">{{!!title}}<$link>*
>
> <$transclude tiddler=<> mode="block"/>
> 
>
> On Sunday, August 29, 2021 at 6:50:24 PM UTC-3 theok...@gmail.com wrote:
>
>> To add to what @David Gifford said I've been tinkering with the details 
>> html element today. They documentation I was reading said it didn't support 
>> any attributes besides open/close.
>>
>> BUT...  I discovered SUMMARY which is used to change it's name DOES.
>>
>> 
>> > style="background-color:green;color:white;font-weight:bold;width:220px;">TESTING
>>  
>> DETAILS STYLES
>>
>> Testing a bunch of testing text. a bunch and more and more and more.
>> 
>>
>> On Sunday, August 29, 2021 at 11:39:51 AM UTC-4 cj.v...@gmail.com wrote:
>>
>>> Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all gobbledygook to 
>>> me.
>>>
>>> There is a sweet spot for adequate WikiText:
>>>
>>>- complex WikiText formatting markup is bad
>>>- not enough simple WikiText formatting markup is bad
>>>- too much simple WikiText formatting markup is bad
>>>- not enough depends on the person; too much also depends on the 
>>>person
>>>
>>> That can be a drag when one needs some complicated formatting that isn't 
>>> available in WikiText (or whatever markup).
>>>
>>> But having to fall back on HTML/CSS isn't so bad.  With TiddlyWiki, it 
>>> can be plug and play.  Grab somebody else's HTML/CSS, drop it in some 
>>> tiddlers, and forget about it.
>>>
>>> Ideally, any HTML (well, anything particularly complicated/messy) you do 
>>> need can be put in a template tiddler, and then it is just a matter of 
>>> applying that template anywhere you need via the beauty of transclusion and 
>>> then you never need to put your eyeballs on that HTML again.  Well, maybe 
>>> once in a blue moon when really necessary.
>>>
>>> Yeah, I go bananas for transclusion ...
>>>
>>>
>>>
>>>
>>>
>>> On Sunday, August 29, 2021 at 3:17:09 AM UTC-3 Sandip Deshmukh wrote:
>>>
 @Charlie,

 Thanks a lot. The example you showed nearly does what I wanted.

 But to implement it, I will need to do more than write simple wikitext.

 I was looking to solution like Emacs org-mode Visibility Cycling 
 .


 @David

 Thanks a ton!

 Your code snippet came in handy for something else that was bothering 
 me.  And that is solved now.

 But for collapse/ expand headings, it requires additional markup. That 
 would be too cumbersome to implement.



 On 29/08/21 4:24 am, David Gifford wrote:

 Everyone always forgets the simplest solution to this. The HTML details 
 disclosure element.

 Your section header

 {{Your transcluded tiddler}} 

 

 On Saturday, August 28, 2021 at 1:49:15 PM UTC-5 cj.v...@gmail.com 
 wrote:

> BTW, please remember: anything cosmetically disagreeable can be easily 
> adjusted via some quick CSS adjustments. 
>
> For example: different border setup or no borders, background colors, 
> indent of sections within other sections, etc. etc.
>
> That code demo is very rough around the edges, just to prototype a 
> design possibility.
>
> On Saturday, August 28, 2021 at 3:41:45 PM UTC-3 Charlie Veniot wrote:
>
>> Hello, 
>>
>> Just a code sample in case of any use.  It is just me imagining how 
>> I'd create a basic setup to get started.  A little bit rough around the 
>> edges.
>>
>> Download the attached and drag it into https://tiddlywiki.com/ for 
>> importing and checking out.
>>
>> Screenshot below fyi.
>>
>> Cheers!
>>
>> [image: Screenshot 2021-08-28 3.40.35 PM.png]
>>
>>
>>
>> On Saturday, August 28, 2021 at 12:23:22 AM UTC-3 Sandip Deshmukh 
>> wrote:
>>
>>> ReadThisLongManual tiddler carries this:
>>>
>>> ! Heading1
>>>
>>> {{||PartOne}}
>>>
>>> {{||PartTwo}}
>>>
>>> !! Heading 2
>>>
>>> Some text 

Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-08-29 Thread Charlie Veniot
Not only can summary be styled, but details can be styled too, as per this 
snippet from the tiddlers included in that earlier attachment of mine:

<*details* style="background-color:white;border:1px solid lightgray;">
  <*summary* style="font-size:1.5em;background-color:white;border:1px solid 
lightgray;">{{!!title}}<$link>*

<$transclude tiddler=<> mode="block"/>


On Sunday, August 29, 2021 at 6:50:24 PM UTC-3 theok...@gmail.com wrote:

> To add to what @David Gifford said I've been tinkering with the details 
> html element today. They documentation I was reading said it didn't support 
> any attributes besides open/close.
>
> BUT...  I discovered SUMMARY which is used to change it's name DOES.
>
> 
>  style="background-color:green;color:white;font-weight:bold;width:220px;">TESTING
>  
> DETAILS STYLES
>
> Testing a bunch of testing text. a bunch and more and more and more.
> 
>
> On Sunday, August 29, 2021 at 11:39:51 AM UTC-4 cj.v...@gmail.com wrote:
>
>> Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all gobbledygook to 
>> me.
>>
>> There is a sweet spot for adequate WikiText:
>>
>>- complex WikiText formatting markup is bad
>>- not enough simple WikiText formatting markup is bad
>>- too much simple WikiText formatting markup is bad
>>- not enough depends on the person; too much also depends on the 
>>person
>>
>> That can be a drag when one needs some complicated formatting that isn't 
>> available in WikiText (or whatever markup).
>>
>> But having to fall back on HTML/CSS isn't so bad.  With TiddlyWiki, it 
>> can be plug and play.  Grab somebody else's HTML/CSS, drop it in some 
>> tiddlers, and forget about it.
>>
>> Ideally, any HTML (well, anything particularly complicated/messy) you do 
>> need can be put in a template tiddler, and then it is just a matter of 
>> applying that template anywhere you need via the beauty of transclusion and 
>> then you never need to put your eyeballs on that HTML again.  Well, maybe 
>> once in a blue moon when really necessary.
>>
>> Yeah, I go bananas for transclusion ...
>>
>>
>>
>>
>>
>> On Sunday, August 29, 2021 at 3:17:09 AM UTC-3 Sandip Deshmukh wrote:
>>
>>> @Charlie,
>>>
>>> Thanks a lot. The example you showed nearly does what I wanted.
>>>
>>> But to implement it, I will need to do more than write simple wikitext.
>>>
>>> I was looking to solution like Emacs org-mode Visibility Cycling 
>>> .
>>>
>>>
>>> @David
>>>
>>> Thanks a ton!
>>>
>>> Your code snippet came in handy for something else that was bothering 
>>> me.  And that is solved now.
>>>
>>> But for collapse/ expand headings, it requires additional markup. That 
>>> would be too cumbersome to implement.
>>>
>>>
>>>
>>> On 29/08/21 4:24 am, David Gifford wrote:
>>>
>>> Everyone always forgets the simplest solution to this. The HTML details 
>>> disclosure element.
>>>
>>> Your section header
>>>
>>> {{Your transcluded tiddler}} 
>>>
>>> 
>>>
>>> On Saturday, August 28, 2021 at 1:49:15 PM UTC-5 cj.v...@gmail.com 
>>> wrote:
>>>
 BTW, please remember: anything cosmetically disagreeable can be easily 
 adjusted via some quick CSS adjustments. 

 For example: different border setup or no borders, background colors, 
 indent of sections within other sections, etc. etc.

 That code demo is very rough around the edges, just to prototype a 
 design possibility.

 On Saturday, August 28, 2021 at 3:41:45 PM UTC-3 Charlie Veniot wrote:

> Hello, 
>
> Just a code sample in case of any use.  It is just me imagining how 
> I'd create a basic setup to get started.  A little bit rough around the 
> edges.
>
> Download the attached and drag it into https://tiddlywiki.com/ for 
> importing and checking out.
>
> Screenshot below fyi.
>
> Cheers!
>
> [image: Screenshot 2021-08-28 3.40.35 PM.png]
>
>
>
> On Saturday, August 28, 2021 at 12:23:22 AM UTC-3 Sandip Deshmukh 
> wrote:
>
>> ReadThisLongManual tiddler carries this:
>>
>> ! Heading1
>>
>> {{||PartOne}}
>>
>> {{||PartTwo}}
>>
>> !! Heading 2
>>
>> Some text under the heading
>>
>> {{||PartThree}}
>>
>> When rendered, there will be several headings. Some of these will 
>> come from the transcluded templates.
>>
>> Is there a way to collapse/ expand these headings at will? So, while 
>> viewing, either clicking on the heading will collapse/ expand it or 
>> there 
>> is a tiny button next to it that will do the collapse/ expand?
>>
> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/tiddlywiki/zSGdj_P1yas/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> 

Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-08-29 Thread Paul Hampshire
To add to what @David Gifford said I've been tinkering with the details 
html element today. They documentation I was reading said it didn't support 
any attributes besides open/close.

BUT...  I discovered SUMMARY which is used to change it's name DOES.


TESTING
 
DETAILS STYLES

Testing a bunch of testing text. a bunch and more and more and more.


On Sunday, August 29, 2021 at 11:39:51 AM UTC-4 cj.v...@gmail.com wrote:

> Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all gobbledygook to 
> me.
>
> There is a sweet spot for adequate WikiText:
>
>- complex WikiText formatting markup is bad
>- not enough simple WikiText formatting markup is bad
>- too much simple WikiText formatting markup is bad
>- not enough depends on the person; too much also depends on the person
>
> That can be a drag when one needs some complicated formatting that isn't 
> available in WikiText (or whatever markup).
>
> But having to fall back on HTML/CSS isn't so bad.  With TiddlyWiki, it can 
> be plug and play.  Grab somebody else's HTML/CSS, drop it in some tiddlers, 
> and forget about it.
>
> Ideally, any HTML (well, anything particularly complicated/messy) you do 
> need can be put in a template tiddler, and then it is just a matter of 
> applying that template anywhere you need via the beauty of transclusion and 
> then you never need to put your eyeballs on that HTML again.  Well, maybe 
> once in a blue moon when really necessary.
>
> Yeah, I go bananas for transclusion ...
>
>
>
>
>
> On Sunday, August 29, 2021 at 3:17:09 AM UTC-3 Sandip Deshmukh wrote:
>
>> @Charlie,
>>
>> Thanks a lot. The example you showed nearly does what I wanted.
>>
>> But to implement it, I will need to do more than write simple wikitext.
>>
>> I was looking to solution like Emacs org-mode Visibility Cycling 
>> .
>>
>>
>> @David
>>
>> Thanks a ton!
>>
>> Your code snippet came in handy for something else that was bothering 
>> me.  And that is solved now.
>>
>> But for collapse/ expand headings, it requires additional markup. That 
>> would be too cumbersome to implement.
>>
>>
>>
>> On 29/08/21 4:24 am, David Gifford wrote:
>>
>> Everyone always forgets the simplest solution to this. The HTML details 
>> disclosure element.
>>
>> Your section header
>>
>> {{Your transcluded tiddler}} 
>>
>> 
>>
>> On Saturday, August 28, 2021 at 1:49:15 PM UTC-5 cj.v...@gmail.com wrote:
>>
>>> BTW, please remember: anything cosmetically disagreeable can be easily 
>>> adjusted via some quick CSS adjustments. 
>>>
>>> For example: different border setup or no borders, background colors, 
>>> indent of sections within other sections, etc. etc.
>>>
>>> That code demo is very rough around the edges, just to prototype a 
>>> design possibility.
>>>
>>> On Saturday, August 28, 2021 at 3:41:45 PM UTC-3 Charlie Veniot wrote:
>>>
 Hello, 

 Just a code sample in case of any use.  It is just me imagining how I'd 
 create a basic setup to get started.  A little bit rough around the edges.

 Download the attached and drag it into https://tiddlywiki.com/ for 
 importing and checking out.

 Screenshot below fyi.

 Cheers!

 [image: Screenshot 2021-08-28 3.40.35 PM.png]



 On Saturday, August 28, 2021 at 12:23:22 AM UTC-3 Sandip Deshmukh wrote:

> ReadThisLongManual tiddler carries this:
>
> ! Heading1
>
> {{||PartOne}}
>
> {{||PartTwo}}
>
> !! Heading 2
>
> Some text under the heading
>
> {{||PartThree}}
>
> When rendered, there will be several headings. Some of these will come 
> from the transcluded templates.
>
> Is there a way to collapse/ expand these headings at will? So, while 
> viewing, either clicking on the heading will collapse/ expand it or there 
> is a tiny button next to it that will do the collapse/ expand?
>
 -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/zSGdj_P1yas/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/9460266c-364b-43d2-af1c-edef7e7fd53fn%40googlegroups.com
>>  
>> 
>> .
>>
>> -- 
>> Regards,
>> Sandip P Deshmukh
>> Email: deshmuk...@gmail.com
>>
>

-- 
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 

Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-08-29 Thread Charlie Veniot
Hoo Nelly, I'm not an Emacs Org-Mode guy, so that is all gobbledygook to me.

There is a sweet spot for adequate WikiText:

   - complex WikiText formatting markup is bad
   - not enough simple WikiText formatting markup is bad
   - too much simple WikiText formatting markup is bad
   - not enough depends on the person; too much also depends on the person

That can be a drag when one needs some complicated formatting that isn't 
available in WikiText (or whatever markup).

But having to fall back on HTML/CSS isn't so bad.  With TiddlyWiki, it can 
be plug and play.  Grab somebody else's HTML/CSS, drop it in some tiddlers, 
and forget about it.

Ideally, any HTML (well, anything particularly complicated/messy) you do 
need can be put in a template tiddler, and then it is just a matter of 
applying that template anywhere you need via the beauty of transclusion and 
then you never need to put your eyeballs on that HTML again.  Well, maybe 
once in a blue moon when really necessary.

Yeah, I go bananas for transclusion ...





On Sunday, August 29, 2021 at 3:17:09 AM UTC-3 Sandip Deshmukh wrote:

> @Charlie,
>
> Thanks a lot. The example you showed nearly does what I wanted.
>
> But to implement it, I will need to do more than write simple wikitext.
>
> I was looking to solution like Emacs org-mode Visibility Cycling 
> .
>
>
> @David
>
> Thanks a ton!
>
> Your code snippet came in handy for something else that was bothering me.  
> And that is solved now.
>
> But for collapse/ expand headings, it requires additional markup. That 
> would be too cumbersome to implement.
>
>
>
> On 29/08/21 4:24 am, David Gifford wrote:
>
> Everyone always forgets the simplest solution to this. The HTML details 
> disclosure element.
>
> Your section header
>
> {{Your transcluded tiddler}} 
>
> 
>
> On Saturday, August 28, 2021 at 1:49:15 PM UTC-5 cj.v...@gmail.com wrote:
>
>> BTW, please remember: anything cosmetically disagreeable can be easily 
>> adjusted via some quick CSS adjustments. 
>>
>> For example: different border setup or no borders, background colors, 
>> indent of sections within other sections, etc. etc.
>>
>> That code demo is very rough around the edges, just to prototype a design 
>> possibility.
>>
>> On Saturday, August 28, 2021 at 3:41:45 PM UTC-3 Charlie Veniot wrote:
>>
>>> Hello, 
>>>
>>> Just a code sample in case of any use.  It is just me imagining how I'd 
>>> create a basic setup to get started.  A little bit rough around the edges.
>>>
>>> Download the attached and drag it into https://tiddlywiki.com/ for 
>>> importing and checking out.
>>>
>>> Screenshot below fyi.
>>>
>>> Cheers!
>>>
>>> [image: Screenshot 2021-08-28 3.40.35 PM.png]
>>>
>>>
>>>
>>> On Saturday, August 28, 2021 at 12:23:22 AM UTC-3 Sandip Deshmukh wrote:
>>>
 ReadThisLongManual tiddler carries this:

 ! Heading1

 {{||PartOne}}

 {{||PartTwo}}

 !! Heading 2

 Some text under the heading

 {{||PartThree}}

 When rendered, there will be several headings. Some of these will come 
 from the transcluded templates.

 Is there a way to collapse/ expand these headings at will? So, while 
 viewing, either clicking on the heading will collapse/ expand it or there 
 is a tiny button next to it that will do the collapse/ expand?

>>> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/zSGdj_P1yas/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/9460266c-364b-43d2-af1c-edef7e7fd53fn%40googlegroups.com
>  
> 
> .
>
> -- 
> Regards,
> Sandip P Deshmukh
> Email: deshmuk...@gmail.com
>

-- 
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/8c0eab3f-2a11-42bd-b88b-dabb88845cddn%40googlegroups.com.


Re: [tw5] Re: Collapse and expand headings in a tiddler

2021-08-29 Thread Sandip P. Deshmukh

@Charlie,

Thanks a lot. The example you showed nearly does what I wanted.

But to implement it, I will need to do more than write simple wikitext.

I was looking to solution like Emacs org-mode Visibility Cycling 
.



@David

Thanks a ton!

Your code snippet came in handy for something else that was bothering 
me.  And that is solved now.


But for collapse/ expand headings, it requires additional markup. That 
would be too cumbersome to implement.




On 29/08/21 4:24 am, David Gifford wrote:
Everyone always forgets the simplest solution to this. The HTML 
details disclosure element.


Your section header

{{Your transcluded tiddler}}



On Saturday, August 28, 2021 at 1:49:15 PM UTC-5 cj.v...@gmail.com wrote:

BTW, please remember: anything cosmetically disagreeable can be
easily adjusted via some quick CSS adjustments.

For example: different border setup or no borders, background
colors, indent of sections within other sections, etc. etc.

That code demo is very rough around the edges, just to prototype a
design possibility.

On Saturday, August 28, 2021 at 3:41:45 PM UTC-3 Charlie Veniot wrote:

Hello,

Just a code sample in case of any use.  It is just me
imagining how I'd create a basic setup to get started. A
little bit rough around the edges.

Download the attached and drag it into https://tiddlywiki.com/
 for importing and checking out.

Screenshot below fyi.

Cheers!

Screenshot 2021-08-28 3.40.35 PM.png



On Saturday, August 28, 2021 at 12:23:22 AM UTC-3 Sandip
Deshmukh wrote:

ReadThisLongManual tiddler carries this:

! Heading1

{{||PartOne}}

{{||PartTwo}}

!! Heading 2

Some text under the heading

{{||PartThree}}

When rendered, there will be several headings. Some of
these will come from the transcluded templates.

Is there a way to collapse/ expand these headings at will?
So, while viewing, either clicking on the heading will
collapse/ expand it or there is a tiny button next to it
that will do the collapse/ expand?

--
You received this message because you are subscribed to a topic in the 
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/tiddlywiki/zSGdj_P1yas/unsubscribe 
.
To unsubscribe from this group and all its topics, send an email to 
tiddlywiki+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9460266c-364b-43d2-af1c-edef7e7fd53fn%40googlegroups.com 
.

--
Regards,
Sandip P Deshmukh
Email: deshmukh.san...@gmail.com

--
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/8f37cf15-f1b8-0da6-d465-9360da7ca79e%40gmail.com.


[tw5] Re: Collapse and expand headings in a tiddler

2021-08-28 Thread David Gifford
Everyone always forgets the simplest solution to this. The HTML details 
disclosure element.

Your section header

{{Your transcluded tiddler}} 



On Saturday, August 28, 2021 at 1:49:15 PM UTC-5 cj.v...@gmail.com wrote:

> BTW, please remember: anything cosmetically disagreeable can be easily 
> adjusted via some quick CSS adjustments.
>
> For example: different border setup or no borders, background colors, 
> indent of sections within other sections, etc. etc.
>
> That code demo is very rough around the edges, just to prototype a design 
> possibility.
>
> On Saturday, August 28, 2021 at 3:41:45 PM UTC-3 Charlie Veniot wrote:
>
>> Hello,
>>
>> Just a code sample in case of any use.  It is just me imagining how I'd 
>> create a basic setup to get started.  A little bit rough around the edges.
>>
>> Download the attached and drag it into https://tiddlywiki.com/ for 
>> importing and checking out.
>>
>> Screenshot below fyi.
>>
>> Cheers!
>>
>> [image: Screenshot 2021-08-28 3.40.35 PM.png]
>>
>>
>>
>> On Saturday, August 28, 2021 at 12:23:22 AM UTC-3 Sandip Deshmukh wrote:
>>
>>> ReadThisLongManual tiddler carries this:
>>>
>>> ! Heading1
>>>
>>> {{||PartOne}}
>>>
>>> {{||PartTwo}}
>>>
>>> !! Heading 2
>>>
>>> Some text under the heading
>>>
>>> {{||PartThree}}
>>>
>>> When rendered, there will be several headings. Some of these will come 
>>> from the transcluded templates.
>>>
>>> Is there a way to collapse/ expand these headings at will? So, while 
>>> viewing, either clicking on the heading will collapse/ expand it or there 
>>> is a tiny button next to it that will do the collapse/ expand?
>>>
>>

-- 
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/9460266c-364b-43d2-af1c-edef7e7fd53fn%40googlegroups.com.


[tw5] Re: Collapse and expand headings in a tiddler

2021-08-28 Thread Charlie Veniot
BTW, please remember: anything cosmetically disagreeable can be easily 
adjusted via some quick CSS adjustments.

For example: different border setup or no borders, background colors, 
indent of sections within other sections, etc. etc.

That code demo is very rough around the edges, just to prototype a design 
possibility.

On Saturday, August 28, 2021 at 3:41:45 PM UTC-3 Charlie Veniot wrote:

> Hello,
>
> Just a code sample in case of any use.  It is just me imagining how I'd 
> create a basic setup to get started.  A little bit rough around the edges.
>
> Download the attached and drag it into https://tiddlywiki.com/ for 
> importing and checking out.
>
> Screenshot below fyi.
>
> Cheers!
>
> [image: Screenshot 2021-08-28 3.40.35 PM.png]
>
>
>
> On Saturday, August 28, 2021 at 12:23:22 AM UTC-3 Sandip Deshmukh wrote:
>
>> ReadThisLongManual tiddler carries this:
>>
>> ! Heading1
>>
>> {{||PartOne}}
>>
>> {{||PartTwo}}
>>
>> !! Heading 2
>>
>> Some text under the heading
>>
>> {{||PartThree}}
>>
>> When rendered, there will be several headings. Some of these will come 
>> from the transcluded templates.
>>
>> Is there a way to collapse/ expand these headings at will? So, while 
>> viewing, either clicking on the heading will collapse/ expand it or there 
>> is a tiny button next to it that will do the collapse/ expand?
>>
>

-- 
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/72aee1ff-979e-4a41-8ed4-963cfe02f188n%40googlegroups.com.


[tw5] Re: Collapse and expand headings in a tiddler

2021-08-28 Thread Charlie Veniot
Hello,

Just a code sample in case of any use.  It is just me imagining how I'd 
create a basic setup to get started.  A little bit rough around the edges.

Download the attached and drag it into https://tiddlywiki.com/ for 
importing and checking out.

Screenshot below fyi.

Cheers!

[image: Screenshot 2021-08-28 3.40.35 PM.png]



On Saturday, August 28, 2021 at 12:23:22 AM UTC-3 Sandip Deshmukh wrote:

> ReadThisLongManual tiddler carries this:
>
> ! Heading1
>
> {{||PartOne}}
>
> {{||PartTwo}}
>
> !! Heading 2
>
> Some text under the heading
>
> {{||PartThree}}
>
> When rendered, there will be several headings. Some of these will come 
> from the transcluded templates.
>
> Is there a way to collapse/ expand these headings at will? So, while 
> viewing, either clicking on the heading will collapse/ expand it or there 
> is a tiny button next to it that will do the collapse/ expand?
>

-- 
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/3199a967-db86-4da1-8e85-a4b23adbabdbn%40googlegroups.com.


SampleForSandip.json
Description: application/json