How to add and display script code?

How can I add and display script code? Like this for example:

  <script type="text/javascript" src=""></script>
  <script type="text/javascript">
    trends.embed.renderExploreWidget("RELATED_QUERIES", {"comparisonItem":[{"keyword":"bitcoin","geo":"DE","time":"now 1-H"}],"category":0,"property":""}, {"exploreQuery":"date=now%201-H&geo=DE&q=bitcoin","guestPath":""});


As of today this is not possible. But we are working on a feature for adding custom JS libraries and so this might be a possible in the future. You can track the issue here - [Epic] Custom JS Library · Issue #5668 · appsmithorg/appsmith · GitHub