Donald,

I personally see no reason why not. TiddlyWiki itself uses raw system tags 
<https://tiddlywiki.com/#SystemTag%3A%20%24%3A%2Ftags%2FRawStaticContent> for 
a similar purpose. Includes insertion head/body etc... Which you could 
clone for scrips and styles.

You will need to modify the static tiddler template to accommodate it, and 
you can transclude this content from another tiddler.

However a longer lasting and sharable solution would be to provide a 
mechaisium within the static template, to accept this (and other values) 
from the source tiddler
eg a static-script field in source tiddlers could contain what is to be 
added between the script tags or a transclusion of a tiddler) thus the 
author can decide on a per-tiddler basis which static pages get custom 
scripts or styles.

This would further support the use of Tiddlywiki as a site generator.

Regards
TW Tones.

On Wednesday, 30 September 2020 11:32:28 UTC+10, Donald Coates wrote:
>
> Is it possible to have <script> tags and allow them to be rendered in a 
> static page?  I understand the security issues for inside a tiddler, but 
> when rendered as an html page it would be useful.
>
> Thank you.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e786a4c8-731a-42c5-973a-3f93806add9co%40googlegroups.com.

Reply via email to