|
94 | 94 | blink-caret 0.75s step-end infinite; |
95 | 95 | } |
96 | 96 |
|
| 97 | + .emph-first-letter *::first-letter { |
| 98 | + color: var(--jp-orange); |
| 99 | + } |
| 100 | + |
97 | 101 | /* The typing effect */ |
98 | 102 | @keyframes typing { |
99 | 103 | from { |
|
731 | 735 | </h3> |
732 | 736 | <p class="fragment"> |
733 | 737 | 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 |
735 | 741 | >book.the-turing-way.org/afterword/glossary/</a |
736 | 742 | > |
737 | 743 | </p> |
|
757 | 763 | "sha256": "4347650f55c9dd2731a58abd686252ceee472e608780998c6bd3f2ec25e6c3de", |
758 | 764 | "slug": "afterword.glossary", |
759 | 765 | "location": "/afterword/glossary.md", |
760 | | - "dependencies": [], |
761 | 766 | "frontmatter": { |
| 767 | + ... |
| 768 | + "mdast": { |
762 | 769 | ... |
763 | 770 |
|
764 | 771 | </code></pre> |
@@ -1001,19 +1008,30 @@ <h3>Manipulating the AST with a <em>plugin</em></h3> |
1001 | 1008 | Let's write a plugin that replaces em-dashes with two hyphens! |
1002 | 1009 | </p> |
1003 | 1010 | </section> |
1004 | | - <section> |
| 1011 | + <section data-auto-animate> |
| 1012 | + <h3>First, our document</h3> |
1005 | 1013 | <p class="typewriter" style="font-size: 0.25em"> |
1006 | 1014 | Got it -- I'll help you to write your PhD thesis on nuclear |
1007 | 1015 | structure in the style of a sleep-deprived badger. |
1008 | 1016 | </p> |
1009 | | - <p class="fragment"> |
| 1017 | + <p> |
1010 | 1018 | Nuclear structure is — yawn — a highly complex field. Badgers |
1011 | 1019 | don't understand nuclear physics. |
1012 | 1020 | </p> |
1013 | 1021 | <img |
1014 | 1022 | src="https://www.weizmann.ac.il/complex/poddubny/sites/complex.poddubny/files/2025-02/cover6_2.jpg" |
| 1023 | + style="max-width: 80%" |
1015 | 1024 | alt="A badger swimming with various physics phenomena overlayed" |
| 1025 | + class="fragment" |
1016 | 1026 | /> |
| 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> |
1017 | 1035 | </section> |
1018 | 1036 | <section> |
1019 | 1037 | <pre><code data-trim class="language-javascript"> |
@@ -1098,6 +1116,46 @@ <h3>Plugins can make your life easier</h3> |
1098 | 1116 | </aside> |
1099 | 1117 | </section> |
1100 | 1118 | </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> |
1101 | 1159 | <!-- LISTENING: Wrap up and call to action --> |
1102 | 1160 | <section> |
1103 | 1161 | <h2>Reflections & feedback</h2> |
|
0 commit comments