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.

the static files issue

as of 2026 may, there is no provision to include static files in the mystmd output

so most of the examples below are not working simply because we try to refer to local assets, but we can’t...

so in order to focus on the matter at hand (how to render iframes) independently of the static files issue, we’ll use a remote url for the examples below

tl - dr

raw HTML iframe: suboptimal !

possible to use IPython’s IFrame instead

from IPython.display import IFrame

IFrame("https://jupyterlab-examples.info-mines.paris", "200px", "200px")
Loading...

mystmd iframe

cannot set height - and width either apparently...