Skip to content

Commit 7219fb7

Browse files
committed
Update example
1 parent 0805b88 commit 7219fb7

File tree

14 files changed

+87887
-23710
lines changed

14 files changed

+87887
-23710
lines changed

docs/2017/09/03/blog.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!DOCTYPE html>
2+
<html lang="">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Jekyll Jupyter Notebook plugin example - Blog title</title>
7+
</head>
8+
<body>
9+
<header>
10+
<h1 class="title">
11+
<a href="/">Jekyll Jupyter Notebook plugin example</a>
12+
</h1>
13+
</header>
14+
<h2 id="blog-title">Blog title</h2>
15+
16+
<p>Here is a Jupyter Notebook on Blog using a string literal:</p>
17+
18+
<div
19+
class="jupyter-notebook"
20+
style="position: relative; width: 100%; margin: 0 auto;">
21+
<div class="jupyter-notebook-iframe-container">
22+
<iframe
23+
src="/notebooks/blog.ipynb.html"
24+
style="position: absolute; top: 0; left: 0; border-style: none;"
25+
width="100%"
26+
height="100%"
27+
onload="this.parentElement.style.paddingBottom = (this.contentWindow.document.documentElement.scrollHeight + 10) + 'px'"></iframe>
28+
</div>
29+
</div>
30+
31+
32+
<p>Here is the same Jupyter Notebook on Blog using a variable:</p>
33+
34+
35+
<div
36+
class="jupyter-notebook"
37+
style="position: relative; width: 100%; margin: 0 auto;">
38+
<div class="jupyter-notebook-iframe-container">
39+
<iframe
40+
src="/notebooks/blog.ipynb.html"
41+
style="position: absolute; top: 0; left: 0; border-style: none;"
42+
width="100%"
43+
height="100%"
44+
onload="this.parentElement.style.paddingBottom = (this.contentWindow.document.documentElement.scrollHeight + 10) + 'px'"></iframe>
45+
</div>
46+
</div>
47+
48+
49+
<footer>
50+
</footer>
51+
</body>
52+
</html>

0 commit comments

Comments
 (0)