On Wednesday, March 11, 2015 at 6:50:39 PM UTC-7, Jed Carty wrote:
>
> That looks like a good way to do it. It may be possible to include those 
> scripts in a tiddlywiki using the $:/tags/RawMarkup tag. I am not sure if 
> it would run the script when loading the page or not though.
>

I'm not certain what happens when using nodejs with separate .tid files, 
but when TW5 writes a standalone (single file) copy of your TiddlyWiki, 
everything tagged with $:/tags/RawMarkup is automatically "injected" 
directly into the "head" of the file just before the closing </head> 
marker.  If you put <script>...</script> in a tiddler with that tag is will 
be invoked at load time... and because it's in the head of the file, it 
runs before anything else, even the TWCore initialization.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

"Inside TiddlyWiki: The Missing Manual"
https://www.indiegogo.com/projects/inside-tiddlywiki-the-missing-manual/x/8816263
Note: the IndieGogo funding campaign has ended,
but direct fundraising continues below...

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to