From 9f5134e897f9f3b37990fb1b01696c33c5a3dd80 Mon Sep 17 00:00:00 2001 From: Tom van Woudenberg Date: Wed, 27 Mar 2024 10:16:50 +0100 Subject: [PATCH] Add local python webserver --- book/features/adding_HTML_elements.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/book/features/adding_HTML_elements.md b/book/features/adding_HTML_elements.md index a1e7201..c8fcd2d 100644 --- a/book/features/adding_HTML_elements.md +++ b/book/features/adding_HTML_elements.md @@ -29,6 +29,9 @@ Let's take a closer look at the source. Since this project uses a local file str - The following string `"_static/"` tells the iframe to navigate into the `_static` folder. We are now in `book/_static/`. - Finally, the string `"element_render_box.html"` selects the HTML file we want to embed. We are now in `book/_static/element_render_box.html`. +## Viewing result at local build +To view the final result locally, it's required to setup a [local python webserver](setup-local-server). + ## HTML code for the 3D render element To conclude, I provide the HTML/JavaScript code for the 3D render element above. To understand what the code below does in more detail, please refer to the [next article](creating_basic_HTML_elements.md). One thing I want to direct your attention to are the paths specified in the first few lines of the `