Debian Codegraph @

tests/data/notebooks/outputs/ipynb_to_pandoc/jupyter.md

raw
1 ---
2 jupyter:
3 kernelspec:
4 display_name: Python 3
5 language: python
6 name: python3
7 nbformat: 4
8 nbformat_minor: 2
9 ---
10
11 ::: {.cell .markdown}
12 # Jupyter notebook
13
14 This notebook is a simple jupyter notebook. It only has markdown and code cells. And it does not contain consecutive markdown cells. We start with an addition:
15 :::
16
17 ::: {#cell-1 .cell .code}
18 ``` python
19 a = 1
20 b = 2
21 a + b
22 ```
23 :::
24
25 ::: {.cell .markdown}
26 Now we return a few tuples
27 :::
28
29 ::: {#cell-2 .cell .code}
30 ``` python
31 a, b
32 ```
33 :::
34
35 ::: {#cell-3 .cell .code}
36 ``` python
37 a, b, a+b
38 ```
39 :::
40
41 ::: {.cell .markdown}
42 And this is already the end of the notebook
43 :::