Hi Martian

Gosh, I'd forgotten about that feature, but, yes, you are absolutely right,
applying the tag `$:/core/wiki/rawmarkup` will currently bake the text of
those tiddlers into the end of the <head> section of the generated HTML
file.

The reason I'd forgotten is that it's turned out not to be necessary for
the use cases I've encountered so far.

When I incorporate an external library like CodeMirror, I bake the actual
script files into the plugin; this makes the functionality available to
offline TiddlyWikis. Conversely, for something like the Google Analytics
plugin which depends on external scripts, but doesn't need to work offline,
I instead use an ordinary startup module and insert a script tag with
javascript.

The CodeMirror plugin is here:

https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/codemirror

The Google Analytics plugin is here:

https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/googleanalytics

Would either of those approaches suit your use case?

Best wishes

Jeremy



On Tue, Feb 18, 2014 at 3:59 PM, Martian <[email protected]> wrote:

> Hello!
> Well, subj.
> Am I rigth that it is possible to include smth just before </head> with
> tiddlers tagged with $:/core/wiki/rawmarkup ? For example
> <script>...</script> to import external JavaScript libraries?
>
> With best regards,
> Martian.
>
> --
> 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/groups/opt_out.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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/groups/opt_out.

Reply via email to