-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
Copy pathshell.html
25 lines (25 loc) · 871 Bytes
/
shell.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{{- $shell := .Site.Params.shell }}
{{- $intro := index $shell "intro" }}
<div class="hero-right">
<div class="flex-column shell-title-container">
{{- range $intro }}
<div class="shell-title">{{ .title }}</div>
<div class="shell-content-message">
<p>{{ .text }}</p>
</div>
{{- end }}
</div>
<div class="numpy-shell-canvas">
<div class="numpy-shell-container">
<div class="shell-lesson shell-content">
{{partial "shell-lesson.html" | print | markdownify}}
</div>
<!-- Interactive Shell -->
<iframe
class="numpy-shell"
src="https://jupyterlite.github.io/demo/repl/?toolbar=1&kernel=python&code=import%20numpy%20as%20np"
>
</iframe>
</div>
</div>
</div>