Преглед изворни кода

Deploy from Github Actions build 341117819 [ci skip]

Build URL: https://github.com/gadenbuie/xaringanthemer/actions/runs/341117819
Commit: 99af06835c
gh-pages
Garrick Aden-Buie пре 5 година
родитељ
комит
a757d22fb8
16 измењених фајлова са 196 додато и 6 уклоњено
  1. +2
    -1
      articles/fonts.html
  2. +4
    -0
      articles/fonts_files/anchor-sections-1.0/anchor-sections.css
  3. +33
    -0
      articles/fonts_files/anchor-sections-1.0/anchor-sections.js
  4. +2
    -1
      articles/ggplot2-themes.html
  5. +4
    -0
      articles/ggplot2-themes_files/anchor-sections-1.0/anchor-sections.css
  6. +33
    -0
      articles/ggplot2-themes_files/anchor-sections-1.0/anchor-sections.js
  7. +2
    -1
      articles/template-variables.html
  8. +4
    -0
      articles/template-variables_files/anchor-sections-1.0/anchor-sections.css
  9. +33
    -0
      articles/template-variables_files/anchor-sections-1.0/anchor-sections.js
  10. +2
    -1
      articles/themes.html
  11. +4
    -0
      articles/themes_files/anchor-sections-1.0/anchor-sections.css
  12. +33
    -0
      articles/themes_files/anchor-sections-1.0/anchor-sections.js
  13. +2
    -1
      articles/xaringanthemer.html
  14. +4
    -0
      articles/xaringanthemer_files/anchor-sections-1.0/anchor-sections.css
  15. +33
    -0
      articles/xaringanthemer_files/anchor-sections-1.0/anchor-sections.js
  16. +1
    -1
      pkgdown.yml

+ 2
- 1
articles/fonts.html Прегледај датотеку





</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="col-md-9 contents">
<div class="page-header toc-ignore"> <div class="page-header toc-ignore">
<h1 data-toc-skip>Fonts</h1> <h1 data-toc-skip>Fonts</h1>

+ 4
- 0
articles/fonts_files/anchor-sections-1.0/anchor-sections.css Прегледај датотеку

/* 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;}

+ 33
- 0
articles/fonts_files/anchor-sections-1.0/anchor-sections.js Прегледај датотеку

// 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);
});
});

+ 2
- 1
articles/ggplot2-themes.html Прегледај датотеку





</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="col-md-9 contents">
<div class="page-header toc-ignore"> <div class="page-header toc-ignore">
<h1 data-toc-skip>ggplot2 Themes</h1> <h1 data-toc-skip>ggplot2 Themes</h1>

+ 4
- 0
articles/ggplot2-themes_files/anchor-sections-1.0/anchor-sections.css Прегледај датотеку

/* 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;}

+ 33
- 0
articles/ggplot2-themes_files/anchor-sections-1.0/anchor-sections.js Прегледај датотеку

// 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);
});
});

+ 2
- 1
articles/template-variables.html Прегледај датотеку





</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="col-md-9 contents">
<div class="page-header toc-ignore"> <div class="page-header toc-ignore">
<h1 data-toc-skip>Template Variables</h1> <h1 data-toc-skip>Template Variables</h1>

+ 4
- 0
articles/template-variables_files/anchor-sections-1.0/anchor-sections.css Прегледај датотеку

/* 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;}

+ 33
- 0
articles/template-variables_files/anchor-sections-1.0/anchor-sections.js Прегледај датотеку

// 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);
});
});

+ 2
- 1
articles/themes.html Прегледај датотеку





</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="col-md-9 contents">
<div class="page-header toc-ignore"> <div class="page-header toc-ignore">
<h1 data-toc-skip>Themes</h1> <h1 data-toc-skip>Themes</h1>

+ 4
- 0
articles/themes_files/anchor-sections-1.0/anchor-sections.css Прегледај датотеку

/* 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;}

+ 33
- 0
articles/themes_files/anchor-sections-1.0/anchor-sections.js Прегледај датотеку

// 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);
});
});

+ 2
- 1
articles/xaringanthemer.html Прегледај датотеку





</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="col-md-9 contents">
<div class="page-header toc-ignore"> <div class="page-header toc-ignore">
<h1 data-toc-skip>Xaringan CSS Theme Generator</h1> <h1 data-toc-skip>Xaringan CSS Theme Generator</h1>

+ 4
- 0
articles/xaringanthemer_files/anchor-sections-1.0/anchor-sections.css Прегледај датотеку

/* 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;}

+ 33
- 0
articles/xaringanthemer_files/anchor-sections-1.0/anchor-sections.js Прегледај датотеку

// 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);
});
});

+ 1
- 1
pkgdown.yml Прегледај датотеку

template-variables: template-variables.html template-variables: template-variables.html
themes: themes.html themes: themes.html
xaringanthemer: xaringanthemer.html xaringanthemer: xaringanthemer.html
last_built: 2020-10-12T06:17Z
last_built: 2020-11-02T06:13Z
urls: urls:
reference: https://pkg.garrickadenbuie.com/xaringanthemer//reference reference: https://pkg.garrickadenbuie.com/xaringanthemer//reference
article: https://pkg.garrickadenbuie.com/xaringanthemer//articles article: https://pkg.garrickadenbuie.com/xaringanthemer//articles

Loading…
Откажи
Сачувај