Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

raw HTML iframe: NO !

tl - dr

use IPython’s IFrame instead

it works with remote URLs, like we’ne seen about videos

with local URLs though, it’s an issue

here’s an example with an HTML produced with folium, and stored in _static

apparently this won’t work at all in mystmd; it does work in jlab

from IPython.display import IFrame

IFrame("_static/addresses-final.html", "500px", "400px")
Loading...
from IPython.display import IFrame

IFrame("media/addresses-final.html", "500px", "400px")
Loading...

mystmd iframe

a local URL in static: not working ?

this is not working as of 2025 march

```{iframe} _static/addresses-final.html
```

a local URL in media: not working ?

this is not working as of 2025 march

```{iframe} media/addresses-final.html
```

height: 300px :align: center

a remote URL

using remote URLS is OK - can’t seem to set the heiht though

```{iframe} https://ue12-p25.github.io/intro/
```