Skip to content

Commit b00dc94

Browse files
Reapply "Add a sample MyST notebook"
This reverts commit d1c7f7d.
1 parent d1c7f7d commit b00dc94

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/directives/my_notebook.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
jupytext:
3+
text_representation:
4+
extension: .md
5+
format_name: myst
6+
format_version: 0.13
7+
jupytext_version: 1.16.4
8+
kernelspec:
9+
display_name: Python 3 (ipykernel)
10+
language: python
11+
name: python3
12+
---
13+
14+
# This is a Jupyter Notebook
15+
16+
```{code-cell} ipython3
17+
def foo():
18+
print(3)
19+
```
20+
21+
```{code-cell} ipython3
22+
foo()
23+
```
24+
25+
```{code-cell} ipython3
26+
27+
```

0 commit comments

Comments
 (0)