Hi Tony, Saq: More about my use case ...
When I look at macro (code) in the editor it is very easy for me to overlook variable or macro names that I want to change and so I fail to update all of them. The purpose of the formatTid.highlightText macro is to create a highlighted copy of the macro code with the css @@color:blue; targetString@@ imbedded around each instance of the targetString. Tony: I am working through your suggestions -- thanks. Saq: I tried dynannotate and it does what I want with regular text -- thanks! I could not get it to work with text within macro code. Is there a why to treat/convert/escape (?) macro code (ie anything between \define and \end as a string without executing/running it? Thanks Again Steve On Monday, July 20, 2020 at 5:33:06 PM UTC-4, Saq Imtiaz wrote: > > @steve just in case you haven't seen it, there's a plugin that does > something very similar: > > > https://tiddlywiki.com/prerelease/#%24%3A%2Fplugins%2Ftiddlywiki%2Fdynannotate > > Check out the examples tab in the plugin tiddler. > > -- 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/81e6c48f-23fc-4740-a6aa-a1a49a65ea94o%40googlegroups.com.

