Meanwhile..
 

> Think this could be made much more easier with a inline script, or a 
> ForEachTiddlers, but didn't found anything for example on abegoExtensions 
> on how to use it for sections.
>

found this script coming very close in Eric's TestTidder:

+++!!![ListSections]...
<script>
var title=prompt('enter tiddler title','SectionLinksPlugin'); if (!title) 
return;
var pattern=/(^|\n)!{1,6}([^eE\n][^nN\n][^dD\n])[^\n]*\n/g;
var matches=store.getTiddlerText(title).match(pattern);
var out='<<tabs txtCurrentTab ';
for (var i=0;i<matches.length;i++) {
    var 
m=matches[i].replace(/!{1,6}|\n/g,'').replace(/"/g,'\\x22').replace(/>>/g,'>\\>').replace(/\}\}\}/g,'}\\}\\}');
    out+= '{{"'+m+'"}} {{"'+m+'"}} {{"'+title+'##'+m+'"}} ';
}
out += '>>';
return out;
</script>
===
 
Now I only would need to know how to change the prompt to using it for the 
sections of a tiddler with the script?

-- 
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/-/Ld_yLWq03OwJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to