diff --git a/fasthtml/jupyter.py b/fasthtml/jupyter.py index acef8962..1d58523d 100644 --- a/fasthtml/jupyter.py +++ b/fasthtml/jupyter.py @@ -88,9 +88,9 @@ def FastJupy(hdrs=None, middleware=None, **kwargs): return FastHTML(hdrs=hdrs, middleware=middleware, **kwargs) # %% ../nbs/api/06_jupyter.ipynb -def HTMX(host='localhost', port=8000, iframe_height="auto"): +def HTMX(path="", host='localhost', port=8000, iframe_height="auto"): "An iframe which displays the HTMX application in a notebook." - return HTML(f'