spatialaudio / nbsphinx

:ledger: Sphinx source parser for Jupyter notebooks
https://nbsphinx.readthedocs.io/
MIT License
451 stars 130 forks source link

a href inside html tag of markdown of notebook not rendering properly in sphinx #581

Open guillaume-chevalier opened 3 years ago

guillaume-chevalier commented 3 years ago

Here is a source:

Here is a result:

The <a href="..."></a> doesn't render in the result.

Note: that'd be extra cool to support youtube's embedded video iframes directly in notebooks.

mgeier commented 3 years ago

Can you please post the relevant Markdown text here?

guillaume-chevalier commented 3 years ago

Here @mgeier:

    <p align="center">
    <a href="http://www.youtube.com/watch?feature=player_embedded&v=XOEN9W05_4A" target="_blank"><img src="http://img.youtube.com/vi/XOEN9W05_4A/0.jpg"
    alt="Video of the experiment" width="400" height="300" border="10" /></a>
      <a href="https://youtu.be/XOEN9W05_4A"><center>[Watch video]</center></a>
    </p>