-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyscript.html
More file actions
31 lines (29 loc) · 908 Bytes
/
pyscript.html
File metadata and controls
31 lines (29 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<title>PyScript Test page</title>
<link rel="stylesheet" href="/js/bootstrap.min.css">
<link rel="stylesheet" href="/js/bootstrap-icons.min.css">
<link rel="stylesheet" href='/js/pyscript.css' />
</head>
<body>
<py-config>
[splashscreen]
autoclose = true
[[interpreters]]
src = "/js/pyodide/pyodide.js"
name = "pyodide-0.23.2"
lang = "python"
</py-config>
<py-script>
print("Hello, World!")
</py-script>
<script src="/js/bootstrap.bundle.min.js"></script>
<script src="/js/json5.min.js"></script>
<script defer src='/js/pyscript.js'></script>
</body>
</html>
<!--
So maybe figure out how to integrate yamllint with CodeMirror -->