On Jun 5, 6:54 pm, cflow <[email protected]> wrote:
> Hi Eric, for me, your solution is pulling the content of the tiddlers
> tagged "doc" but not the headings. Is there a simple solution as I think
> the EmbedTiddlers method is great.
EmbedTiddlers is a "transclusion" that contains javascript code. Find
this line of code within EmbedTiddlers:
for (var i=0; i<tids.length; i++)
out+='<<tiddler [['+tids[i]+']]>\>';
This is the main "workhorse" of the script. The "out+=..." portion
appends output for ONE matched tiddler at a time. Currently, the
default output looks like:
<<tiddler [[NameOfTiddler]]>>
You can change the output in any way you like. For your purposes, you
want output that looks something like:
!!NameOfTiddler
<<tiddler [[NameOfTiddler]]>>
To do this, you can change the script output code to read:
out+='!!'+tids[i]+'\n'+<<tiddler [['+tids[i]+']]>\>';
(i.e., adding "!!NameOfTiddler\n" to the front of the output)
That should do it.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://www.TiddlyTools.com/#Donations
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.