Debian Codegraph @

tests/data/notebooks/outputs/ipynb_to_myst/Notebook with metadata and long cells.md

raw
1 ---
2 kernelspec:
3 display_name: Python 3
4 language: python
5 name: python3
6 ---
7
8 # Part one - various cells
9
10 +++
11
12 Here we have a markdown cell
13
14
15 with two blank lines
16
17 +++
18
19 Now we have a markdown cell
20 with a code block inside it
21
22 ```python
23 1 + 1
24 ```
25
26 After that cell we'll have a code cell
27
28 ```{code-cell} ipython3
29 2 + 2
30
31
32 3 + 3
33 ```
34
35 Followed by a raw cell
36
37 ```{raw-cell}
38 This is
39 the content
40 of the raw cell
41 ```
42
43 # Part two - cell metadata
44
45 +++ {"key": "value"}
46
47 This is a markdown cell with cell metadata `{"key": "value"}`
48
49 ```{code-cell} ipython3
50 ---
51 .class: null
52 tags: [parameters]
53 ---
54 """This is a code cell with metadata `{"tags":["parameters"], ".class":null}`"""
55 ```
56
57 ```{raw-cell}
58 :key: value
59
60 This is a raw cell with cell metadata `{"key": "value"}`
61 ```