@t one option is to replace the save button as in this example: 
https://ibnishak.github.io/Tesseract/pluginsandmacros/hashtag2tag.html

Probably not super clean and it cripples the keyboard short cut when saving 
tiddlers...

On Friday, 21 May 2021 at 21:23:34 UTC-4 TW Tones wrote:

> Perhaps in a related solution I created a snapshot tool. It converts what 
> a tiddler displays into html and saves it in another tiddler, then displays 
> the snap shot in the original tiddler. 
>
> The reason was to capture content at a point in time,  and to save 
> processing by not regenerating the tiddler until a refresh is requested. 
> This snapshot can be dragged to any wiki and will; look the same, because 
> the data and macros in the original where captured in the snapshot as fixed 
> html. If you are using special CSS you may need to incorporate that with 
> the snapshot.
>
> I mention this because you could design your own snapshot method to 
> include what you want in it, ie run macros and produce results, and capture 
> the results.
>
> The quick hack is to install the Internals core plugin, then use the 
> preview in a tiddler editor, and look at the RAW HTML preview, select and 
> copy the actual html, and paste this html into Another tiddler.
>
> Regards
> Tones
>
>
>
>
> On Saturday, 22 May 2021 at 09:09:10 UTC+10 t...@tcj.design wrote:
>
>> I'm interested, but I'm not sure how to go about it. How can I run a 
>> macro on tiddler save to make what is essentially text substitutions? 
>>
>> On Saturday, May 15, 2021 at 5:51:33 AM UTC-4 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/caf96961-e60f-4b16-9365-83c516f077afn%40googlegroups.com.

Reply via email to