diff --git a/.nojekyll b/.nojekyll index 2553f38..0027c58 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -4d1292b5 \ No newline at end of file +9b6ab38f \ No newline at end of file diff --git a/about.html b/about.html index 0bc2c83..d5fcf30 100644 --- a/about.html +++ b/about.html @@ -2,7 +2,7 @@ - + @@ -216,6 +216,24 @@

About

// clear code selection e.clearSelection(); }); + var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//); + var mailtoRegex = new RegExp(/^mailto:/); + var filterRegex = new RegExp("https:\/\/trekonom\.github\.io\/intro-tidy\/"); + var isInternal = (href) => { + return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href); + } + // Inspect non-navigation links and adorn them if external + 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)'); + for (var i=0; iAbout try { href = new URL(href).hash; } catch {} const id = href.replace(/^#\/?/, ""); const note = window.document.getElementById(id); - return note.innerHTML; + if (note) { + return note.innerHTML; + } else { + return ""; + } }); } const xrefs = window.document.querySelectorAll('a.quarto-xref'); diff --git a/index 2.html b/index 2.html deleted file mode 100644 index 1cab721..0000000 --- a/index 2.html +++ /dev/null @@ -1,1918 +0,0 @@ - - - - - - - - - - - - - Intro-tidy - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-

Intro-tidy

- -
-
- -
-
- -

This is a webr-enabled code cell in a Quarto HTML document.

-
- - -
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/index.html b/index.html index 80aa153..8297525 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - + Intro-tidy @@ -485,7 +485,7 @@ }; // Store cell data - globalThis.qwebrCellDetails = [{"id":1,"options":{"dpi":72,"fig-width":7,"comment":"","fig-cap":"","autorun":"false","read-only":"false","context":"interactive","results":"markup","output":"true","classes":"","out-width":"700px","label":"unnamed-chunk-1","warning":"true","message":"true","fig-height":5,"out-height":""},"code":"ggplot()"}]; + globalThis.qwebrCellDetails = [{"id":1,"code":"ggplot()","options":{"comment":"","results":"markup","fig-width":7,"output":"true","label":"unnamed-chunk-1","fig-height":5,"autorun":"false","read-only":"false","fig-cap":"","dpi":72,"out-width":"700px","warning":"true","message":"true","context":"interactive","classes":"","out-height":""}}];