PyScript

This theme now contains the PyScript libraries. This is a work in progress.

Example:

{{< pyscript >}}
print("Hello World")
name = input("What is your name? ")
print(f"Hello {name}!")
{{< /pyscript >}}

Renders as follows below

Debugging Script Output
<script type="py"  terminal   worker    >
  
print("Hello World")
name = input("What is your name? ")
print(f"Hello {name}!")

< /script >
Rendered Python Code
print("Hello World")
name = input("What is your name? ")
print(f"Hello {name}!")
PyScript Terminal