|
2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> |
3 | 3 |
|
4 | 4 | <meta charset="utf-8"> |
5 | | -<meta name="generator" content="quarto-1.4.554"> |
| 5 | +<meta name="generator" content="quarto-1.6.40"> |
6 | 6 |
|
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> |
8 | 8 |
|
|
30 | 30 | <script src="../../site_libs/quarto-search/fuse.min.js"></script> |
31 | 31 | <script src="../../site_libs/quarto-search/quarto-search.js"></script> |
32 | 32 | <meta name="quarto:offset" content="../../"> |
| 33 | +<link href="../../img/stemcoding_favicon_final.png" rel="icon" type="image/png"> |
33 | 34 | <script src="../../site_libs/quarto-html/quarto.js"></script> |
34 | 35 | <script src="../../site_libs/quarto-html/popper.min.js"></script> |
35 | 36 | <script src="../../site_libs/quarto-html/tippy.umd.min.js"></script> |
36 | 37 | <script src="../../site_libs/quarto-html/anchor.min.js"></script> |
37 | 38 | <link href="../../site_libs/quarto-html/tippy.css" rel="stylesheet"> |
38 | | -<link href="../../site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles"> |
| 39 | +<link href="../../site_libs/quarto-html/quarto-syntax-highlighting-549806ee2085284f45b00abea8c6df48.css" rel="stylesheet" id="quarto-text-highlighting-styles"> |
39 | 40 | <script src="../../site_libs/bootstrap/bootstrap.min.js"></script> |
40 | 41 | <link href="../../site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> |
41 | | -<link href="../../site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light"> |
| 42 | +<link href="../../site_libs/bootstrap/bootstrap-3ed3a85e8781f68cd9162943f395acec.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> |
42 | 43 | <script id="quarto-search-options" type="application/json">{ |
43 | 44 | "location": "navbar", |
44 | 45 | "copy-button": false, |
|
78 | 79 | <nav class="navbar navbar-expand-lg " data-bs-theme="dark"> |
79 | 80 | <div class="navbar-container container-fluid"> |
80 | 81 | <div id="quarto-search" class="" title="Search"></div> |
81 | | - <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> |
| 82 | + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" role="menu" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> |
82 | 83 | <span class="navbar-toggler-icon"></span> |
83 | 84 | </button> |
84 | 85 | <div class="collapse navbar-collapse" id="navbarCollapse"> |
|
113 | 114 | </li> |
114 | 115 | </ul> |
115 | 116 | </div> <!-- /navcollapse --> |
116 | | - <div class="quarto-navbar-tools tools-wide"> |
| 117 | + <div class="quarto-navbar-tools tools-wide"> |
117 | 118 | <a href="https://www.youtube.com/STEMcoding" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-youtube"></i></a> |
118 | 119 | <a href="https://www.instagram.com/stemcoding/" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-instagram"></i></a> |
119 | 120 | <a href="https://www.facebook.com/stemcodingproject" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-facebook"></i></a> |
@@ -285,18 +286,7 @@ <h2 class="anchored" data-anchor-id="key-points">Key Points</h2> |
285 | 286 | } |
286 | 287 | return false; |
287 | 288 | } |
288 | | - const clipboard = new window.ClipboardJS('.code-copy-button', { |
289 | | - text: function(trigger) { |
290 | | - const codeEl = trigger.previousElementSibling.cloneNode(true); |
291 | | - for (const childEl of codeEl.children) { |
292 | | - if (isCodeAnnotation(childEl)) { |
293 | | - childEl.remove(); |
294 | | - } |
295 | | - } |
296 | | - return codeEl.innerText; |
297 | | - } |
298 | | - }); |
299 | | - clipboard.on('success', function(e) { |
| 289 | + const onCopySuccess = function(e) { |
300 | 290 | // button target |
301 | 291 | const button = e.trigger; |
302 | 292 | // don't keep focus |
@@ -328,15 +318,35 @@ <h2 class="anchored" data-anchor-id="key-points">Key Points</h2> |
328 | 318 | }, 1000); |
329 | 319 | // clear code selection |
330 | 320 | e.clearSelection(); |
| 321 | + } |
| 322 | + const getTextToCopy = function(trigger) { |
| 323 | + const codeEl = trigger.previousElementSibling.cloneNode(true); |
| 324 | + for (const childEl of codeEl.children) { |
| 325 | + if (isCodeAnnotation(childEl)) { |
| 326 | + childEl.remove(); |
| 327 | + } |
| 328 | + } |
| 329 | + return codeEl.innerText; |
| 330 | + } |
| 331 | + const clipboard = new window.ClipboardJS('.code-copy-button:not([data-in-quarto-modal])', { |
| 332 | + text: getTextToCopy |
331 | 333 | }); |
| 334 | + clipboard.on('success', onCopySuccess); |
| 335 | + if (window.document.getElementById('quarto-embedded-source-code-modal')) { |
| 336 | + const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', { |
| 337 | + text: getTextToCopy, |
| 338 | + container: window.document.getElementById('quarto-embedded-source-code-modal') |
| 339 | + }); |
| 340 | + clipboardModal.on('success', onCopySuccess); |
| 341 | + } |
332 | 342 | var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//); |
333 | 343 | var mailtoRegex = new RegExp(/^mailto:/); |
334 | 344 | var filterRegex = new RegExp('/' + window.location.host + '/'); |
335 | 345 | var isInternal = (href) => { |
336 | 346 | return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href); |
337 | 347 | } |
338 | 348 | // Inspect non-navigation links and adorn them if external |
339 | | - var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool)'); |
| 349 | + var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool):not(.about-link)'); |
340 | 350 | for (var i=0; i<links.length; i++) { |
341 | 351 | const link = links[i]; |
342 | 352 | if (!isInternal(link.href)) { |
@@ -433,7 +443,6 @@ <h2 class="anchored" data-anchor-id="key-points">Key Points</h2> |
433 | 443 | if (window.Quarto?.typesetMath) { |
434 | 444 | window.Quarto.typesetMath(note); |
435 | 445 | } |
436 | | - // TODO in 1.5, we should make sure this works without a callout special case |
437 | 446 | if (note.classList.contains("callout")) { |
438 | 447 | return note.outerHTML; |
439 | 448 | } else { |
|
0 commit comments