eggcaker / jekyll-org

org-mode converter for Jekyll.
http://eggcaker.github.io/jekyll-org
MIT License
132 stars 29 forks source link

How to render raw html? #28

Closed kevzettler closed 6 years ago

kevzettler commented 6 years ago

I want to embed a youtube video. I have the raw html embed code from youtube

<iframe width="560" height="315" src="https://www.youtube.com/embed/zp8-eUmAnhg" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

If I insert this as-is into the .org document it just outputs text.

if I try:

#+liquid: enabled
{{<iframe width="560" height="315" src="https://www.youtube.com/embed/zp8-eUmAnhg" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>}}

it renders nothing

kevzettler commented 6 years ago

Using org-modes html export options worked

https://orgmode.org/manual/Quoting-HTML-tags.html