From 485fb642c9e188aa4dd2cd9aa49ef4c3f3414d90 Mon Sep 17 00:00:00 2001 From: Isaac Flath Date: Tue, 8 Oct 2024 19:55:54 -0400 Subject: [PATCH] Add path --- fasthtml/jupyter.py | 4 ++-- nbs/api/06_jupyter.ipynb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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'