I am using Pandoc to convert markdown files to html in a Jekyll blog.
I am passing these flags to pandoc -t html5 --smart --section-divs --parse-raw but it does not seem to render the iframe. Here is a screenshot of what it produces.
Can anyone point me in the right direction so that it ends up being rendered correctly?
Here is the iframe in the markdown file
<div class="scratch-preview">
<iframe allowtransparency="true" width="485" height="402" src="http://scratch.mit.edu/projects/embed/26818098/?autostart=false" frameborder="0"></iframe>
<img src="space-final.png">
</div>
The issue has been discussed on github. The problem seems to be caused by indentation of the iframe being 4 spaces or more, causing it to be interpreted as code by markdown.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With