Build URL: https://github.com/gadenbuie/xaringanthemer/actions/runs/341117819
Commit: 99af06835c
gh-pages
| @@ -123,7 +123,8 @@ | |||
| </header><script src="fonts_files/accessible-code-block-0.0.1/empty-anchor.js"></script><div class="row"> | |||
| </header><script src="fonts_files/accessible-code-block-0.0.1/empty-anchor.js"></script><link href="fonts_files/anchor-sections-1.0/anchor-sections.css" rel="stylesheet"> | |||
| <script src="fonts_files/anchor-sections-1.0/anchor-sections.js"></script><div class="row"> | |||
| <div class="col-md-9 contents"> | |||
| <div class="page-header toc-ignore"> | |||
| <h1 data-toc-skip>Fonts</h1> | |||
| @@ -0,0 +1,4 @@ | |||
| /* Styles for section anchors */ | |||
| a.anchor-section {margin-left: 10px; visibility: hidden; color: inherit;} | |||
| a.anchor-section::before {content: '#';} | |||
| .hasAnchor:hover a.anchor-section {visibility: visible;} | |||
| @@ -0,0 +1,33 @@ | |||
| // Anchor sections v1.0 written by Atsushi Yasumoto on Oct 3rd, 2020. | |||
| document.addEventListener('DOMContentLoaded', function() { | |||
| // Do nothing if AnchorJS is used | |||
| if (typeof window.anchors === 'object' && anchors.hasOwnProperty('hasAnchorJSLink')) { | |||
| return; | |||
| } | |||
| const h = document.querySelectorAll('h1, h2, h3, h4, h5, h6'); | |||
| // Do nothing if sections are already anchored | |||
| if (Array.from(h).some(x => x.classList.contains('hasAnchor'))) { | |||
| return null; | |||
| } | |||
| // Use section id when pandoc runs with --section-divs | |||
| const section_id = function(x) { | |||
| return ((x.classList.contains('section') || (x.tagName === 'SECTION')) | |||
| ? x.id : ''); | |||
| }; | |||
| // Add anchors | |||
| h.forEach(function(x) { | |||
| const id = x.id || section_id(x.parentElement); | |||
| if (id === '') { | |||
| return null; | |||
| } | |||
| let anchor = document.createElement('a'); | |||
| anchor.href = '#' + id; | |||
| anchor.classList = ['anchor-section']; | |||
| x.classList.add('hasAnchor'); | |||
| x.appendChild(anchor); | |||
| }); | |||
| }); | |||
| @@ -123,7 +123,8 @@ | |||
| </header><script src="ggplot2-themes_files/accessible-code-block-0.0.1/empty-anchor.js"></script><div class="row"> | |||
| </header><script src="ggplot2-themes_files/accessible-code-block-0.0.1/empty-anchor.js"></script><link href="ggplot2-themes_files/anchor-sections-1.0/anchor-sections.css" rel="stylesheet"> | |||
| <script src="ggplot2-themes_files/anchor-sections-1.0/anchor-sections.js"></script><div class="row"> | |||
| <div class="col-md-9 contents"> | |||
| <div class="page-header toc-ignore"> | |||
| <h1 data-toc-skip>ggplot2 Themes</h1> | |||
| @@ -0,0 +1,4 @@ | |||
| /* Styles for section anchors */ | |||
| a.anchor-section {margin-left: 10px; visibility: hidden; color: inherit;} | |||
| a.anchor-section::before {content: '#';} | |||
| .hasAnchor:hover a.anchor-section {visibility: visible;} | |||
| @@ -0,0 +1,33 @@ | |||
| // Anchor sections v1.0 written by Atsushi Yasumoto on Oct 3rd, 2020. | |||
| document.addEventListener('DOMContentLoaded', function() { | |||
| // Do nothing if AnchorJS is used | |||
| if (typeof window.anchors === 'object' && anchors.hasOwnProperty('hasAnchorJSLink')) { | |||
| return; | |||
| } | |||
| const h = document.querySelectorAll('h1, h2, h3, h4, h5, h6'); | |||
| // Do nothing if sections are already anchored | |||
| if (Array.from(h).some(x => x.classList.contains('hasAnchor'))) { | |||
| return null; | |||
| } | |||
| // Use section id when pandoc runs with --section-divs | |||
| const section_id = function(x) { | |||
| return ((x.classList.contains('section') || (x.tagName === 'SECTION')) | |||
| ? x.id : ''); | |||
| }; | |||
| // Add anchors | |||
| h.forEach(function(x) { | |||
| const id = x.id || section_id(x.parentElement); | |||
| if (id === '') { | |||
| return null; | |||
| } | |||
| let anchor = document.createElement('a'); | |||
| anchor.href = '#' + id; | |||
| anchor.classList = ['anchor-section']; | |||
| x.classList.add('hasAnchor'); | |||
| x.appendChild(anchor); | |||
| }); | |||
| }); | |||
| @@ -123,7 +123,8 @@ | |||
| </header><script src="template-variables_files/accessible-code-block-0.0.1/empty-anchor.js"></script><div class="row"> | |||
| </header><script src="template-variables_files/accessible-code-block-0.0.1/empty-anchor.js"></script><link href="template-variables_files/anchor-sections-1.0/anchor-sections.css" rel="stylesheet"> | |||
| <script src="template-variables_files/anchor-sections-1.0/anchor-sections.js"></script><div class="row"> | |||
| <div class="col-md-9 contents"> | |||
| <div class="page-header toc-ignore"> | |||
| <h1 data-toc-skip>Template Variables</h1> | |||
| @@ -0,0 +1,4 @@ | |||
| /* Styles for section anchors */ | |||
| a.anchor-section {margin-left: 10px; visibility: hidden; color: inherit;} | |||
| a.anchor-section::before {content: '#';} | |||
| .hasAnchor:hover a.anchor-section {visibility: visible;} | |||
| @@ -0,0 +1,33 @@ | |||
| // Anchor sections v1.0 written by Atsushi Yasumoto on Oct 3rd, 2020. | |||
| document.addEventListener('DOMContentLoaded', function() { | |||
| // Do nothing if AnchorJS is used | |||
| if (typeof window.anchors === 'object' && anchors.hasOwnProperty('hasAnchorJSLink')) { | |||
| return; | |||
| } | |||
| const h = document.querySelectorAll('h1, h2, h3, h4, h5, h6'); | |||
| // Do nothing if sections are already anchored | |||
| if (Array.from(h).some(x => x.classList.contains('hasAnchor'))) { | |||
| return null; | |||
| } | |||
| // Use section id when pandoc runs with --section-divs | |||
| const section_id = function(x) { | |||
| return ((x.classList.contains('section') || (x.tagName === 'SECTION')) | |||
| ? x.id : ''); | |||
| }; | |||
| // Add anchors | |||
| h.forEach(function(x) { | |||
| const id = x.id || section_id(x.parentElement); | |||
| if (id === '') { | |||
| return null; | |||
| } | |||
| let anchor = document.createElement('a'); | |||
| anchor.href = '#' + id; | |||
| anchor.classList = ['anchor-section']; | |||
| x.classList.add('hasAnchor'); | |||
| x.appendChild(anchor); | |||
| }); | |||
| }); | |||
| @@ -123,7 +123,8 @@ | |||
| </header><script src="themes_files/accessible-code-block-0.0.1/empty-anchor.js"></script><div class="row"> | |||
| </header><script src="themes_files/accessible-code-block-0.0.1/empty-anchor.js"></script><link href="themes_files/anchor-sections-1.0/anchor-sections.css" rel="stylesheet"> | |||
| <script src="themes_files/anchor-sections-1.0/anchor-sections.js"></script><div class="row"> | |||
| <div class="col-md-9 contents"> | |||
| <div class="page-header toc-ignore"> | |||
| <h1 data-toc-skip>Themes</h1> | |||
| @@ -0,0 +1,4 @@ | |||
| /* Styles for section anchors */ | |||
| a.anchor-section {margin-left: 10px; visibility: hidden; color: inherit;} | |||
| a.anchor-section::before {content: '#';} | |||
| .hasAnchor:hover a.anchor-section {visibility: visible;} | |||
| @@ -0,0 +1,33 @@ | |||
| // Anchor sections v1.0 written by Atsushi Yasumoto on Oct 3rd, 2020. | |||
| document.addEventListener('DOMContentLoaded', function() { | |||
| // Do nothing if AnchorJS is used | |||
| if (typeof window.anchors === 'object' && anchors.hasOwnProperty('hasAnchorJSLink')) { | |||
| return; | |||
| } | |||
| const h = document.querySelectorAll('h1, h2, h3, h4, h5, h6'); | |||
| // Do nothing if sections are already anchored | |||
| if (Array.from(h).some(x => x.classList.contains('hasAnchor'))) { | |||
| return null; | |||
| } | |||
| // Use section id when pandoc runs with --section-divs | |||
| const section_id = function(x) { | |||
| return ((x.classList.contains('section') || (x.tagName === 'SECTION')) | |||
| ? x.id : ''); | |||
| }; | |||
| // Add anchors | |||
| h.forEach(function(x) { | |||
| const id = x.id || section_id(x.parentElement); | |||
| if (id === '') { | |||
| return null; | |||
| } | |||
| let anchor = document.createElement('a'); | |||
| anchor.href = '#' + id; | |||
| anchor.classList = ['anchor-section']; | |||
| x.classList.add('hasAnchor'); | |||
| x.appendChild(anchor); | |||
| }); | |||
| }); | |||
| @@ -123,7 +123,8 @@ | |||
| </header><script src="xaringanthemer_files/accessible-code-block-0.0.1/empty-anchor.js"></script><div class="row"> | |||
| </header><script src="xaringanthemer_files/accessible-code-block-0.0.1/empty-anchor.js"></script><link href="xaringanthemer_files/anchor-sections-1.0/anchor-sections.css" rel="stylesheet"> | |||
| <script src="xaringanthemer_files/anchor-sections-1.0/anchor-sections.js"></script><div class="row"> | |||
| <div class="col-md-9 contents"> | |||
| <div class="page-header toc-ignore"> | |||
| <h1 data-toc-skip>Xaringan CSS Theme Generator</h1> | |||
| @@ -0,0 +1,4 @@ | |||
| /* Styles for section anchors */ | |||
| a.anchor-section {margin-left: 10px; visibility: hidden; color: inherit;} | |||
| a.anchor-section::before {content: '#';} | |||
| .hasAnchor:hover a.anchor-section {visibility: visible;} | |||
| @@ -0,0 +1,33 @@ | |||
| // Anchor sections v1.0 written by Atsushi Yasumoto on Oct 3rd, 2020. | |||
| document.addEventListener('DOMContentLoaded', function() { | |||
| // Do nothing if AnchorJS is used | |||
| if (typeof window.anchors === 'object' && anchors.hasOwnProperty('hasAnchorJSLink')) { | |||
| return; | |||
| } | |||
| const h = document.querySelectorAll('h1, h2, h3, h4, h5, h6'); | |||
| // Do nothing if sections are already anchored | |||
| if (Array.from(h).some(x => x.classList.contains('hasAnchor'))) { | |||
| return null; | |||
| } | |||
| // Use section id when pandoc runs with --section-divs | |||
| const section_id = function(x) { | |||
| return ((x.classList.contains('section') || (x.tagName === 'SECTION')) | |||
| ? x.id : ''); | |||
| }; | |||
| // Add anchors | |||
| h.forEach(function(x) { | |||
| const id = x.id || section_id(x.parentElement); | |||
| if (id === '') { | |||
| return null; | |||
| } | |||
| let anchor = document.createElement('a'); | |||
| anchor.href = '#' + id; | |||
| anchor.classList = ['anchor-section']; | |||
| x.classList.add('hasAnchor'); | |||
| x.appendChild(anchor); | |||
| }); | |||
| }); | |||
| @@ -7,7 +7,7 @@ articles: | |||
| template-variables: template-variables.html | |||
| themes: themes.html | |||
| xaringanthemer: xaringanthemer.html | |||
| last_built: 2020-10-12T06:17Z | |||
| last_built: 2020-11-02T06:13Z | |||
| urls: | |||
| reference: https://pkg.garrickadenbuie.com/xaringanthemer//reference | |||
| article: https://pkg.garrickadenbuie.com/xaringanthemer//articles | |||