My Idea would be this,
>
> I would essentially (want to) define some markup which is recognized as 
such "tabbed inline choices", which can be displayed as inline or as block 
level elements. The simple trick behind it would be to start with a new 
line and then a blank and then a character you normally do not expect, like 
a dot.

 .1st Choice                                        
Some choice content, describing it. All available choice titles of that 
level would be displayed as html titles to the entire choice.

By default a choice is rendered inline right behind the text that precedes 
it, not as a block level element (like a tab).
A choice might even contain a...
!Heading
...although the section content would probably be meaningless when asked 
for via the <<tiddler>> macro.
 .2nd Choice                                       
This one contains a list...
*The choice titles must be unique
**to later be able to extend with search and replace
**this makes your wikitext more readable
 ..1st Sub Of 2nd Choice                      

Add another little dot and the thing is a subchoice to the second choice.
Note how this starts with a blank line which essentially renders it on a 
new line instead of inline.
 ..!2nd Sub Of 2nd Choice                    

Of course we would always want at least two choices, don't we?
Notice the exclamation mark before the title which would show this choice 
initially even though it is listed second!
 .                                                        

And finally just the triggering markup but without anything following but a 
new line in order to end the sequence.

To me this looks like the least markup you could probably have. Here's an 
example:


I like fruits, especially 
 .Apples                        
apples! They are so yummy.
 .Bananas                     
bananas! I just love how yellow and mushy they are.
 ..Platanos                    
There even are those south americain platanos which are especially cool 
when cooked.
 ..Baby Bananas           
Those tiny baby bananas always give me the chills.
 .

As I said above, unlike tabs, I would always render a choice inline, so if 
you wanted your choice to be rendered on a new line, you would have to 
prepend a blank line to the choices body.

I would say the markup could not be any simpler.

Obviously, choices need their own css wrapper so you can easily spot them 
in your storyline.

Once you hover them, they would highlight a little more and a simple click 
on your choice would toggle the thing.

The little exclamation mark prepended to a choices title could be used to 
persist choices. So, when you reopen the tiddler, you would see the 
storyline reflecting the choices you last made.

I guess the ultimate coolness would be a little overlay menu displayed when 
you hover a choice that allows you to * add another choice (making it 
default)
* edit the choice you currently see
* delete a choice


So much for brainstorming... to have this all working is quite another 
feast. Please don't get your hopes up too high, any time soon.

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/QviaS5bhWHkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to