@@ -17,27 +17,27 @@ with open("example.qmd", "r") as f:
17
17
```
18
18
19
19
::: {.cell-output .cell-output-stdout}
20
- >
20
+ >
21
21
22
22
> # This is a simple example that uses python
23
23
24
- >
24
+ >
25
25
26
26
> You can take a look at the .qmd that generated this docs
27
27
28
28
> from:
29
29
30
- >
30
+ >
31
31
32
32
> [https://github.com/jspaezp/mkquartodocs/tree/main/docs](https://github.com/jspaezp/mkquartodocs/tree/main/docs)
33
33
34
- >
34
+ >
35
35
36
- >
36
+ >
37
37
38
38
> But we can use python to check the contents of this file!
39
39
40
- >
40
+ >
41
41
42
42
> ```{python}
43
43
@@ -47,37 +47,37 @@ with open("example.qmd", "r") as f:
47
47
48
48
> print("> ", str(l))
49
49
50
- >
50
+ >
51
51
52
52
> ```
53
53
54
- >
54
+ >
55
55
56
- >
56
+ >
57
57
58
58
> # Hello
59
59
60
- >
60
+ >
61
61
62
62
> Here is some text
63
63
64
- >
64
+ >
65
65
66
- >
66
+ >
67
67
68
68
> ```{python}
69
69
70
70
> print("Hello World")
71
71
72
72
> ```
73
73
74
- >
74
+ >
75
75
76
76
> Here is how warnings look
77
77
78
- >
78
+ >
79
79
80
- >
80
+ >
81
81
82
82
> ```{python}
83
83
@@ -87,13 +87,13 @@ with open("example.qmd", "r") as f:
87
87
88
88
> ```
89
89
90
- >
90
+ >
91
91
92
92
> Some python logic
93
93
94
- >
94
+ >
95
95
96
- >
96
+ >
97
97
98
98
> ```{python}
99
99
@@ -105,13 +105,13 @@ with open("example.qmd", "r") as f:
105
105
106
106
> ```
107
107
108
- >
108
+ >
109
109
110
110
> And finally an error just to see how it looks
111
111
112
- >
112
+ >
113
113
114
- >
114
+ >
115
115
116
116
> ```{python}
117
117
@@ -173,12 +173,12 @@ raise NotImplementedError
173
173
```
174
174
175
175
::: {.cell-output .cell-output-error}
176
- NotImplementedError:
176
+ NotImplementedError:
177
177
[ 0;31m---------------------------------------------------------------------------[ 0m
178
178
[ 0;31mNotImplementedError[ 0m Traceback (most recent call last)
179
179
Cell [ 0;32mIn[ 5] , line 1[ 0m
180
180
[ 0;32m----> 1[ 0m [ 38;5;28;01mraise[ 39;00m [ 38;5;167;01mNotImplementedError[ 39;00m
181
181
182
- [0;31mNotImplementedError[0m:
182
+ [0;31mNotImplementedError[0m:
183
183
:::
184
184
::::
0 commit comments