How do I embed an iframe ? #537
-
I am trying to embed an iframe on a page. Generally, markdown supports the inline HTML. This used to work in my other projects. When I added the code below, nothing of it gets displayed on the page. Any content below this iframe is also not seen.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Did you really mean " |
Beta Was this translation helpful? Give feedback.
-
Hmmm....two thoughts. Was there JavaScript that modified the styles? Or have you also changed version of Hugo? Older versions of Hugo used Blackfriday; newer versions use Goldmark which defaults to not allowing raw HTML in Markdown. |
Beta Was this translation helpful? Give feedback.
-
Need to use |
Beta Was this translation helpful? Give feedback.
-
Thank you for posting. I missed when the |
Beta Was this translation helpful? Give feedback.
Need to use
{{ <rawhtml > }}
shortcode provided by hugo to embed an iframe.