Display blocks of text in UI received from MQTT or from executed pyhon script

Thanks for that Ross
Good to hear that it should work with any of the cards
Perhaps me mentioning button confused what I was trying to explain
I just want to trigger an action, and it does not have to be a button as such
I have it working with a switch card but not with a string card

This is exactly what I was trying to do
I initially setup a switch card and that works fine and the MQTT message is published and everything works fine, but does not make visual sense as this is an on/off scenario but an MQTT push to control something at the other end, ie take a picture from the camera
If I change that from the switch to a string card, with everything setup up the same as for the switch, the MQTT publish does not happen when I click on the string and I cannot see why that is
Currently, the MQTT publish does not need a payload as it is just the subscribed topic that causes the camera node to take a picture and publish the image which is then picked up by my OH page in an image card