Awesome, I really do love this.

Cheers,

Ton

On Thursday, November 13, 2014 10:47:59 PM UTC+1, Jeremy Ruston wrote:
>
> Hi Mat
>
> Great stuff. I've implemented your idea as another variant of the table of 
> contents macro. You can try it out here:
>
> http://tiddlywiki.com/prerelease#TableOfContentsMacro%20Tabbed%20Example
>
> [image: Inline image 1]
>
> You'll see that it's set up so that links in the body of a tiddler open in 
> the right hand panel. Sadly, the toc doesn't automatically expand to bring 
> the new tiddler into view.
>
> The code changes were:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/f5055c0205d24102a36b9cf3a9dd9306e148a1f0
>
> Getting it done required extending the "set" widget so that it can assign 
> different values conditional on the results of evaluating a filter:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/bd211ea08273f074ccd7954f9497237a8ef156fd
>
> Best wishes
>
> Jeremy.
>
>
>
> On Thu, Nov 13, 2014 at 7:29 PM, PMario <[email protected] <javascript:>> 
> wrote:
>
>> On Thursday, November 13, 2014 6:43:56 PM UTC+1, Mat wrote:
>>>
>>> Probably as easy as actually learning to code ;-)
>>>
>>
>> No.
>>
>> While tiddlywiki javascript has a relatively concise structure, it's not 
>> so easy to create widgets, because you need to know some core internals.
>>
>> Javascript macros are easy to create, because they mainly return plain 
>> text, that will be rendered by the core. 
>> But js macros most of the time can be replaced by global macros using 
>> wikitext. 
>>
>> If you don't know javascript, you actually have to learn js and the TW 
>> structure, which imo will be overwhelming, if you want to do both at the 
>> same time. 
>>  
>>
>>> Interesting to hear you think mere wikitext would be sufficient though. 
>>> Would that bring advantages for the end result compared to coding? 
>>>
>>
>> IMO the advantage is flexibility. Wikitext can be changed by users. 
>>
>> -mario
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to