thanks for the answer. I found it easier to copy the snippet from the global module and paste it into the block code inside the text block. It’s not convenient, but it makes its purpose.
I don’ have much experience in line code so I cannot discover the line where could I put this inside HubL.