Change the metadata format (#457)

* Chnage the metadata format

* Add syntax highlighting

* have simple_clock example run from local build to test change

Co-authored-by: Fabio Pliger <fabio.pliger@gmail.com>
This commit is contained in:
woxtu
2022-06-02 03:49:41 +09:00
committed by GitHub
parent 698478ef95
commit 4b4ff08131
3 changed files with 20 additions and 19 deletions

View File

@@ -7,18 +7,17 @@
<title>Simple Clock Demo</title>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
<link rel="stylesheet" href="./build/pyscript.css" />
<script defer src="https://pyscript.net/alpha/pyscript.js"></script>
<script defer src="./build/pyscript.js"></script>
<py-env>
- paths:
- ./utils.py
</py-env>
<py-config>
- autoclose_loader: false
- runtimes:
-
src: "https://cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js"
autoclose_loader: false
runtimes:
- src: "https://cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js"
name: pyodide-0.20
lang: python
</py-config>