@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 <https://orgmode.org/manual/Visibility-Cycling.html>.


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

<details><summary><b>Your section header</b></summary>

{{Your transcluded tiddler}}

</details>

On Saturday, August 28, 2021 at 1:49:15 PM UTC-5 [email protected] 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/
        <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 <https://groups.google.com/d/topic/tiddlywiki/zSGdj_P1yas/unsubscribe>. To unsubscribe from this group and all its topics, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9460266c-364b-43d2-af1c-edef7e7fd53fn%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/9460266c-364b-43d2-af1c-edef7e7fd53fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Regards,
Sandip P Deshmukh
Email: [email protected]

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

Reply via email to