Skip to content

Commit 3457cb7

Browse files
committed
Test with two notebooks
1 parent c70c430 commit 3457cb7

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

_quarto.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project:
44
- index.qmd
55
- chapters/chapter1.qmd
66
- notebooks/notebook1.qmd
7+
- notebooks/notebook2.qmd
78

89
website:
910
page-navigation: true

notebooks/notebook1.qmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
title: "A basic notebook"
2+
title: "Quarto Basics"
33
format: ipynb # This qmd file will be compiled as a jupyter notebook
4+
jupyter: python3
45
---
56

6-
# A beautiful figure
7+
## A beautiful figure
78

89
This chunk shows how you can produce a beautiful figure.
910

notebooks/notebook2.qmd

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: "Quarto Basics"
3+
format: ipynb # This qmd file will be compiled as a jupyter notebook
4+
jupyter: python3
5+
---
6+
7+
## Introduction
8+
This is a basic Quarto document rendered as a Jupyter notebook.
9+
10+
```{python}
11+
import numpy as np
12+
import matplotlib.pyplot as plt
13+
14+
x = np.linspace(0, 2 * np.pi, 100)
15+
y = np.sin(x)
16+
17+
plt.plot(x, y)
18+
plt.title("Sine Wave")
19+
plt.show()
20+
```

0 commit comments

Comments
 (0)