Skip to content

Commit a9d307f

Browse files
committed
Fix interactive code blocks
1 parent 88966e8 commit a9d307f

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

Lesson_1_Basics/Lesson_1_Student_Version.ipynb

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
{
2+
"cell_type": "raw",
3+
"metadata": {
4+
"raw_mimetype": "text/x-quarto-yaml"
5+
},
6+
"source": [
7+
"---\n",
8+
"title: \"Lesson 1 – Basic Introduction to Programming in Python\"\n",
9+
"format: live-html\n",
10+
"jupyter: python3\n",
11+
"---\n"
12+
]
13+
},
114
{
215
"cells": [
316
{

index.qmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ Read lessons here, run small code snippets live in your browser, *or* launch the
2929

3030
---
3131

32-
## 5 Try an interactive Pyodide cell
32+
## Try an interactive Pyodide cell
3333

3434
Below is a small Python snippet running **in your browser** via Pyodide. Click **Run Code** to execute it:
3535

36-
```{pyodide}
36+
```{python}
3737
#| autorun: false
3838
#| echo: true
3939
#| engine: pyodide
4040
41-
sum([10, 20, 30, 40, 50])
41+
sum([10, 20, 30, 40, 50])
42+
```
43+

0 commit comments

Comments
 (0)