binokochumolvarghese / lightbi-hugo

Lightbi is a minimal and clean blog theme for Hugo.
https://lightbi-hugo-theme.netlify.app/
MIT License
64 stars 36 forks source link

How to show google slides inside post? #4

Closed automataIA closed 1 year ago

automataIA commented 1 year ago

I try to put an iframe inside a md post, but don't work. I have to use particular shortcodes or config in TOML file?

Furthermore, I don't have problem with other hugo theme. Example iframe: <iframe src="https://docs.google.com/presentation/.........." frameborder="0" width="960" height="569" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>

binokochumolvarghese commented 1 year ago

@automataIA

If you want to show inline HTML in your Markdown files, you may have to enable the unsafe mode in the config file as below:

[markup.goldmark.renderer]
unsafe= true

Please read this release note for more information.