How to embed an html widget?

What I’m trying to do

I am trying to embed this HTML code, which should show a widget in Obsidian:

<!-- Widget BEGIN -->
<div class="tradingview-widget-container">
  <div class="tradingview-widget-container__widget"></div>
  <div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/" rel="noopener nofollow" target="_blank"><span class="blue-text">Track all markets on TradingView</span></a></div>
  <script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-financials.js" async>
  {
  "isTransparent": false,
  "largeChartUrl": "",
  "displayMode": "regular",
  "width": "100%",
  "height": "100%",
  "colorTheme": "dark",
  "symbol": "NYSE:DIS",
  "locale": "en"
}
  </script>
</div>
<!-- Widget END -->

Things I have tried

I tried just pasting this code into a markdown page, but the widget does not show up.

Pardon, I renamed your topic and edited out a phrase that is likely to draw attention from spam bots on the forum. The particular type of widget isn’t important for getting help about widgets in general.

1 Like

I’m here for the same question…