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