Okay, guys, last request of the weekend.
I figured out the following, and it works:
\define timestamp() @@.donotprint [[(c)|$(datetime)$]] <<modal "$(datetime)$">>@@
<$vars datetime=<<now "YYYY-0MM-0DD 0hh:0mm:0ss">>
>
<$action-sendmessage
$message="tm-edit-text-operation"
$param="insert-text"
text=<<timestamp>>
/>
</$vars>
But this adds a long snippet to every line of text I add it to. So, being greedy and lazy as I am, I would like to have the entire thing be part of a global macro, so I can just hit an editortoolbar button and have it insert <<datetime tid:“2025-05-25 16:14:33”>>, nice and concise, but which is the equivalent of the code above. I tried about 8 different ways, but every time I am getting the red screen of death.
Can anyone show one last bit of love? I promise, in return, to make the final result available for anyone to use…The basic idea is to be able to insert both a link and a modal button after or within any line of text, to a tiddler with a datetimestamp as a title. That would serve as a footnote to additional content. One could navigate to the tiddler or view it in place with a modal.