If you want an already rendered passage to change you can use <<replace>>, <<append>>, <<prepend>> <<linkreplace>>, <<linkappend>> and <<linkprepend>>. For more information take a look at the macro library.
I don't think about it. I use many times <<replace>> but I don't think like this... Thanks. You blow my mind. Lol