Lets not go down that field "field" again.

To put it simply if you can get it no other way make them separate 
tiddlers, however;

*Dave, Tell me if I am wrong*, you just want to be able to open and close 
the levels by heading so you can collapse or expand sections as needed. If 
you have headings in there as organisational structures you want to use 
them that way?

The example you have us uses an index and there is no collapsible parts in 
it. We can already do this with Mark S TWOutlier 
https://groups.google.com/forum/?hl=en#!topic/tiddlywiki/ol_3zvGPbk8

Speculation: We could provide a toggle, in the view template that folds the 
tiddler and displays an alternate view of the tiddlers content using a 
different "pragma" and I believe CSS to open and close. I do not know 
exactly how, I just think it is achievable.


   - At least I do not see why we cant open and close all h1 h2 h3 levels 
   at once. 
   - In someways this is currently what tiddlywiki does - reads the text, 
   detects markup and translates it to html.
   - But if we can generate html that uses an unique id in each h level we 
   should be able to toggle each heading individually.
   - I believe CSS now has numeric methods just as it can do nth row etc..
   - I wonder why this is not an optional part of the current rendering?, 
   Perhaps it could solve the "link to a place in tiddler" issue, at least in 
   view mode.
   - I think the new in 5.1.18 "Added 
   
<https://github.com/Jermolene/TiddlyWiki5/commit/2e51f08bef8656fdca83fff6163dc67cbaefa2d4>
 
   support for rebasing headings at render time – see tv-adjust-heading-level 
   Variable <https://tiddlywiki.com/#tv-adjust-heading-level%20Variable>" 
   may help too.

Regards
Tony


On Sunday, January 27, 2019 at 4:51:38 PM UTC+11, Diego Mesa wrote:
>
> Or, we could revisit previous discussions where we entertained the idea 
> that the smallest semantic unit of knowledge be a field - elevating fields 
> to first class citizens in TW. 
>
> On Saturday, January 26, 2019 at 11:31:33 PM UTC-6, Mark S. wrote:
>>
>> What tiddoc does is use a regular expression filter to extract and then 
>> display headers inside a page, and then format them with custom styles. 
>>
>> I'm sure a similar template could be developed that would show links. The 
>> problem is ... they wouldn't go anywhere! Regular html links don't work 
>> inside of TW, and especially inside of a single tiddler.. 
>>
>> This is where the "smallest semantic unit" concept runs against the way 
>> most of us work. Oh well.
>>
>> You could look at the slicer edition to see how a document could be 
>> composed of separate tiddlers. Then a TOC macro or a list structure could 
>> be used to display a table of contents that could actually link to 
>> something. 
>>
>> -- Mark
>>
>>
>>
>> On Saturday, January 26, 2019 at 3:54:39 PM UTC-8, Dave Gifford - 
>> http://www.giffmex.org/ wrote:
>>>
>>> Hi all
>>>
>>> In StackEdit I really enjoy that it automatically creates an outline 
>>> from markdown headings # = h1 ## = h2, ## = h3, etc.
>>>
>>> See this example of an (experimental) html that I created via Stackedit. 
>>> http://articulos.giffmex.org/1LDP/apologetica.html
>>>
>>> The left outline is automatically generated, and I also duplicated it at 
>>> the top of the main text section, thinking of mobile users. The lines of 
>>> the outline are links to the relevant sections.
>>>
>>> Most of the discussion on outlines for TW have to do with tagging, 
>>> understandably. I am wondering if something similar can be done with 
>>> tiddler markup.
>>>
>>> tidtoc (http://tidtoc.tiddlyspot.com/#GettingStarted) is a step towards 
>>> this. It creates a toc based on TW headers. But the lines of the outline 
>>> are not links. Could they be?
>>>
>>> Even better if a sidebar could show the outline of an open tiddler. 
>>>
>>> Just curious if this butts up against TW's limits, or if it is just 
>>> something no one has done before.
>>>
>>> Dave
>>>
>>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3a684ddc-f0d1-4ab5-a942-f8d11b6f0915%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to