grafana panel plugin development:how to let $sce.trustAsHtml identify a html with script in Grafana

Hello, I am a newcomer to the grafana plugin development. Now I have a problem that needs to be solved:
How do I get $sce.trustAsHtml in grafana to read a html with script?
such as :

fullName: {{firstName+" "+lastName}}
Must I use some sort of plugin to convert the html with script to html?but I didn't find this kind of plugin..... Or is there such a method in grafana?

Text panel in grafana converts markdown to html in javascript using remarkable:

Can I use a similar method?