Embedding video within a Markdown Document

Markdown is supposed to be a way of “writing for the web.” And the idea is not to try and recreate all of the tags that already exist in HTML, like <iframe>.

So, the following video should just embed correctly with the code that I paste in from Youtube:

The code itself can show up like this:

<iframe width="560" height="315" src="https://www.youtube.com/embed/_D6fUxgEju4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Leave a Reply