Skip to content

Commit f8891a8

Browse files
authored
Merge pull request #30 from agoose77/feat-more-slides
feat: more slides
2 parents 2e8a0d7 + e31167a commit f8891a8

File tree

1 file changed

+62
-4
lines changed

1 file changed

+62
-4
lines changed

index.html

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@
9494
blink-caret 0.75s step-end infinite;
9595
}
9696

97+
.emph-first-letter *::first-letter {
98+
color: var(--jp-orange);
99+
}
100+
97101
/* The typing effect */
98102
@keyframes typing {
99103
from {
@@ -731,7 +735,9 @@ <h3>
731735
</h3>
732736
<p class="fragment">
733737
Take the glossary URL<br />
734-
<a href="https://book.the-turing-way.org/afterword/glossary/"
738+
<a
739+
href="https://book.the-turing-way.org/afterword/glossary/"
740+
data-preview-link
735741
>book.the-turing-way.org/afterword/glossary/</a
736742
>
737743
</p>
@@ -757,8 +763,9 @@ <h3>
757763
"sha256": "4347650f55c9dd2731a58abd686252ceee472e608780998c6bd3f2ec25e6c3de",
758764
"slug": "afterword.glossary",
759765
"location": "/afterword/glossary.md",
760-
"dependencies": [],
761766
"frontmatter": {
767+
...
768+
"mdast": {
762769
...
763770

764771
</code></pre>
@@ -1001,19 +1008,30 @@ <h3>Manipulating the AST with a <em>plugin</em></h3>
10011008
Let's write a plugin that replaces em-dashes with two hyphens!
10021009
</p>
10031010
</section>
1004-
<section>
1011+
<section data-auto-animate>
1012+
<h3>First, our document</h3>
10051013
<p class="typewriter" style="font-size: 0.25em">
10061014
Got it -- I'll help you to write your PhD thesis on nuclear
10071015
structure in the style of a sleep-deprived badger.
10081016
</p>
1009-
<p class="fragment">
1017+
<p>
10101018
Nuclear structure is — yawn — a highly complex field. Badgers
10111019
don't understand nuclear physics.
10121020
</p>
10131021
<img
10141022
src="https://www.weizmann.ac.il/complex/poddubny/sites/complex.poddubny/files/2025-02/cover6_2.jpg"
1023+
style="max-width: 80%"
10151024
alt="A badger swimming with various physics phenomena overlayed"
1025+
class="fragment"
10161026
/>
1027+
<p>
1028+
<a
1029+
href="https://mystmd.org/sandbox?tab=ast&myst=TgB1AGMAbABlAGEAcgAgAHMAdAByAHUAYwB0AHUAcgBlACAAaQBzACAAFCAgAHkAYQB3AG4AIAAUICAAYQAgAGgAaQBnAGgAbAB5ACAAYwBvAG0AcABsAGUAeAAgAGYAaQBlAGwAZAAuACAAQgBhAGQAZwBlAHIAcwAgAGQAbwBuACcAdAAgAHUAbgBkAGUAcgBzAHQAYQBuAGQAIABuAHUAYwBsAGUAYQByACAAcABoAHkAcwBpAGMAcwAuAAoACgAhAFsAQQAgAGIAYQBkAGcAZQByACAAcwB3AGkAbQBtAGkAbgBnACAAdwBpAHQAaAAgAHYAYQByAGkAbwB1AHMAIABwAGgAeQBzAGkAYwBzACAAcABoAGUAbgBvAG0AZQBuAGEAIABvAHYAZQByAGwAYQB5AGUAZABdACgAaAB0AHQAcABzADoALwAvAHcAdwB3AC4AdwBlAGkAegBtAGEAbgBuAC4AYQBjAC4AaQBsAC8AYwBvAG0AcABsAGUAeAAvAHAAbwBkAGQAdQBiAG4AeQAvAHMAaQB0AGUAcwAvAGMAbwBtAHAAbABlAHgALgBwAG8AZABkAHUAYgBuAHkALwBmAGkAbABlAHMALwAyADAAMgA1AC0AMAAyAC8AYwBvAHYAZQByADYAXwAyAC4AagBwAGcAKQA%3D"
1030+
class="fragment"
1031+
data-preview-link
1032+
>Take me to your lede</a
1033+
>
1034+
</p>
10171035
</section>
10181036
<section>
10191037
<pre><code data-trim class="language-javascript">
@@ -1098,6 +1116,46 @@ <h3>Plugins can make your life easier</h3>
10981116
</aside>
10991117
</section>
11001118
</section>
1119+
<section data-auto-animate>
1120+
<h3>Plugins can make your life easier</h3>
1121+
<pre
1122+
class="code-wrapper"
1123+
data-preview-image="static/table-plugin.png"
1124+
>
1125+
<code data-trim class="language-markdown hljs" data-preview-link="https://blog.jupyterbook.org/">
1126+
:::{blog-posts}
1127+
:::
1128+
</code>
1129+
</pre>
1130+
<a
1131+
href="https://github.com/jupyter-book/blog-plugin/blob/main/plugin.ts"
1132+
class="fragment"
1133+
>Go to the source code</a
1134+
>
1135+
<!-- prettier-ignore -->
1136+
<aside data-markdown class="notes">
1137+
- Here's an example of a generative directive:
1138+
- It looks at the source files and compiles a date-ordered series of cards with short titles.
1139+
- This enables us to build out new functionality as content rather than app
1140+
</aside>
1141+
</section>
1142+
<section>
1143+
<h3>Introducing the Haiku of Demos</h3>
1144+
<ul class="emph-first-letter">
1145+
<li>Do the demo live.</li>
1146+
<li>Encounter complications.</li>
1147+
<li>Maybe have regret.</li>
1148+
<li style="margin-top: 4em">Oh No.</li>
1149+
</ul>
1150+
<!-- prettier-ignore -->
1151+
<aside data-markdown class="notes">
1152+
It's all well and good showing things and talking about it, but let's actually see how quickly we can get a demo together.
1153+
</aside>
1154+
</section>
1155+
<section>
1156+
<h3>Separating structured data from presentation</h3>
1157+
Another DEMO? I think so!
1158+
</section>
11011159
<!-- LISTENING: Wrap up and call to action -->
11021160
<section>
11031161
<h2>Reflections & feedback</h2>

0 commit comments

Comments
 (0)