What I really need is mechanically, how do I get code to run on-save in TiddlyWiki.
On Friday, May 21, 2021 at 7:26:46 PM UTC-4 Soren Bjornstad wrote: > In terms of use cases, in MediaWiki similar functionality is called template > substitution <https://en.wikipedia.org/wiki/Wikipedia:Substitution>, and > they've listed some applications at Wikipedia. > > On Saturday, May 15, 2021 at 4:51:33 AM UTC-5 Anjar wrote: > >> Another use case was just posted (on how to combine the text from several >> tiddlers into a single tiddler so that the original tiddlers can be >> deleted): https://groups.google.com/g/tiddlywiki/c/xTCzMIj0uqs Good >> solutions were suggested, but it would also be very simple to just write >> <<<insertTiddlerText "..somefilter...">>> and have it replaced with the >> text of those tiddlers or <<insertTiddlerText "..somefilter...">> if one >> wants to keep transcluding >> >> Best, >> Anders >> >> fredag 14. mai 2021 kl. 16:31:33 UTC+2 skrev PMario: >> >>> On Friday, May 14, 2021 at 12:04:01 PM UTC+2 Anjar wrote: >>> >>> - You are guaranteed that the output will not change. In the permalink >>>> case, I think, the example would be to replace <<hardlink "aTitle">> with >>>> something like <$button><$list >>>> filter="[created[..aTitle!!created..]]"><$action-navigate >>>> $to=<<currentTiddler>> /></$list>aTitle</$button> where >>>> ..aTitle!!created.. >>>> is not a reference but the actual value >>>> >>>> Thoughts? >>>> >>> >>> I think in general this is a sensible idea. ... But I also think it's >>> "over-engineering" ... >>> >>> If exporting "connected" tiddler is a problem, we may need to improve >>> the "export" mechanisms. Which imo would be the right place to tackle this >>> specific problem. >>> >>> just a thought. >>> mario >>> >>> >>> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6a1ddaec-9b99-42c9-b705-bb2c11fda78dn%40googlegroups.com.