20250716: I'm going to make what I think will be major revisions to this page. What I thought was a bug, wasn't, I didn't realize that I had to add $n to the prefix to make the markup start at the beginning of a line. If for some reason you want to see the old page, it will be revision 6 of this page.
20250715: Michael Daum (from Foswiki) showed me how to almost / partially make this work on Foswiki, but which shows a new bug. I'm going to do some more experiments here and see if the same that almost / partially works on Foswiki also works here.
I'm going to try 3 variations of the parameters for a twisty to see which works the best:
prefix="$n<h2>" without trailing !!
prefix="$n---++ "
No prefix, added ---++ to link (i.e."$n---++ A Level 2 Heading (#2) in a twisty")
Some text within the Level 3 section.
Some text within the Level 3 section.
More text within the Level 2 section (#5).
More text within the Level 2 section (#5).
Trying link="$n---++ A Level 2 ...
Heading appears in TOC (doubled (as in Foswiki))
but, clicking on the entry in the TOC does not jump to the actual heading, instead, the heading for the Level 3 section below it appears in the TOC
the (Level 2) heading does not even appear in the document (as stated above, it appears in the TOC)
sometimes I see a twisty icon, but it does something strange
A Level 2 Heading (#7) in a twisty with prefix=
A Level 2 Heading (#7) in a twisty with prefix=
Some text within the Level 2 section (#2).
Some text within the Level 2 section (#2).
A Level 3 heading in a twisty
A Level 3 heading in a twisty
Some text within the Level 3 section.
Some text within the Level 3 section.
More text within the Level 2 section (#2).
More text within the Level 2 section (#2).
Folding a list item
Did a little experimenting -- two problems atm:
I haven't found a way to make the item appear as a list item (that is, indented with a bullet in front of it). I tried putting the " * " as a prefix (prefix=) and I tried putting it as the first characters of the link,
I envisioned the first line of a list item as being of variable length to match the current width of the TWiki window, but it looks like it would have to be a fixed length based on where I manual divide the item between the link and the remaining content within the twisty.
(I can't count) I'd also like to be able to have multiple or continuation paragraphs of a list item, indented the same as the list item to which it belongs (indented to where the text starts, not where the bullet or number is).
I don't think I'll make much progress here -- I may let things sit and try to cogitate some.
<some "random" irrelevant text" for testing of folding a (multiline) list item>
The foundational deal of the modern web, a handshake agreement that powered two decades of search and content, is officially dead. Cloudflare just put a price on scraping the internet, and it’s coming for artificial intelligence’s free lunch.
of the modern web, a handshake agreement that powered two decades of search and content, is officially dead. Cloudflare just put a price on scraping the internet, and it’s coming for artificial intelligence’s free lunch.
If you edit this page: add your name here; move this to the next line; and if you've used a comment marker (your initials in parenthesis), include it before your WikiName.
Copyright � 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look