You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wasm/notebook/snippets/python-js-css/main.txt
+15-14Lines changed: 15 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@
3
3
# RustPython Notebook: python, javascript, css, markdown and math
4
4
5
5
6
-
Python in the browser is fun. Python and Javascript working together is double the fun 😜. Markdown and math are good for communicating ideas 🤔 (especially scientific ones). Adding css to the mix, makes everything look pretty ✨.
6
+
Python in the browser is fun. Python and Javascript working together is double
7
+
the fun 😜. Markdown and math are good for communicating ideas 🤔 (especially
8
+
scientific ones). Adding css to the mix, makes everything look pretty ✨.
7
9
8
10
---
9
11
@@ -22,21 +24,20 @@ In this demo example, the RustPython Notebook:
22
24
23
25
---
24
26
25
-
## Calculator
26
-
### Enter your lucky number
27
+
%%py
27
28
28
-
%%js
29
+
# Python code
29
30
30
-
create_ui();
31
+
# you have access to helpers for emitting p & h1-h6
0 commit comments