Skip to content

Commit

Permalink
Merge pull request #576 from vacmar01/main
Browse files Browse the repository at this point in the history
improved documentation on notebook use
  • Loading branch information
jph00 authored Nov 11, 2024
2 parents e9451ca + ea00303 commit ea0409d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbs/api/06_jupyter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
"id": "12b03a53",
"metadata": {},
"source": [
"You can also run an HTMX web app directly in a notebook. You might find it convenient to use *auto_id* mode, in which the ID of an `FT` object is automatically generated if not provided."
"You can also run an HTMX web app directly in a notebook. To make this work, you have to add the default FastHTML headers to the DOM of the notebook with `show(*def_hdrs())`. Additionally, you might find it convenient to use *auto_id* mode, in which the ID of an `FT` object is automatically generated if not provided."
]
},
{
Expand All @@ -310,7 +310,7 @@
"id": "4244901a",
"metadata": {},
"source": [
"After importing `fasthtml.jupyter`, FT components render directly in the notebook."
"After importing `fasthtml.jupyter` and calling `render_ft()`, FT components render directly in the notebook."
]
},
{
Expand Down

0 comments on commit ea0409d

Please sign in to comment.