Skip to content

Commit 5c00ade

Browse files
committed
updating docs
1 parent 8ab6e29 commit 5c00ade

File tree

105 files changed

+11019
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+11019
-0
lines changed

docs/404.html

+194
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Hide empty <a> tag within highlighted CodeBlock for screen reader accessibility (see https://github.com/jgm/pandoc/issues/6352#issuecomment-626106786) -->
2+
// v0.0.1
3+
// Written by JooYoung Seo ([email protected]) and Atsushi Yasumoto on June 1st, 2020.
4+
5+
document.addEventListener('DOMContentLoaded', function() {
6+
const codeList = document.getElementsByClassName("sourceCode");
7+
for (var i = 0; i < codeList.length; i++) {
8+
var linkList = codeList[i].getElementsByTagName('a');
9+
for (var j = 0; j < linkList.length; j++) {
10+
if (linkList[j].innerHTML === "") {
11+
linkList[j].setAttribute('aria-hidden', 'true');
12+
}
13+
}
14+
}
15+
});
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2+
// be compatible with the behavior of Pandoc < 2.8).
3+
document.addEventListener('DOMContentLoaded', function(e) {
4+
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5+
var i, h, a;
6+
for (i = 0; i < hs.length; i++) {
7+
h = hs[i];
8+
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9+
a = h.attributes;
10+
while (a.length > 0) h.removeAttribute(a[0].name);
11+
}
12+
});
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Hide empty <a> tag within highlighted CodeBlock for screen reader accessibility (see https://github.com/jgm/pandoc/issues/6352#issuecomment-626106786) -->
2+
// v0.0.1
3+
// Written by JooYoung Seo ([email protected]) and Atsushi Yasumoto on June 1st, 2020.
4+
5+
document.addEventListener('DOMContentLoaded', function() {
6+
const codeList = document.getElementsByClassName("sourceCode");
7+
for (var i = 0; i < codeList.length; i++) {
8+
var linkList = codeList[i].getElementsByTagName('a');
9+
for (var j = 0; j < linkList.length; j++) {
10+
if (linkList[j].innerHTML === "") {
11+
linkList[j].setAttribute('aria-hidden', 'true');
12+
}
13+
}
14+
}
15+
});
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2+
// be compatible with the behavior of Pandoc < 2.8).
3+
document.addEventListener('DOMContentLoaded', function(e) {
4+
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5+
var i, h, a;
6+
for (i = 0; i < hs.length; i++) {
7+
h = hs[i];
8+
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9+
a = h.attributes;
10+
while (a.length > 0) h.removeAttribute(a[0].name);
11+
}
12+
});
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Hide empty <a> tag within highlighted CodeBlock for screen reader accessibility (see https://github.com/jgm/pandoc/issues/6352#issuecomment-626106786) -->
2+
// v0.0.1
3+
// Written by JooYoung Seo ([email protected]) and Atsushi Yasumoto on June 1st, 2020.
4+
5+
document.addEventListener('DOMContentLoaded', function() {
6+
const codeList = document.getElementsByClassName("sourceCode");
7+
for (var i = 0; i < codeList.length; i++) {
8+
var linkList = codeList[i].getElementsByTagName('a');
9+
for (var j = 0; j < linkList.length; j++) {
10+
if (linkList[j].innerHTML === "") {
11+
linkList[j].setAttribute('aria-hidden', 'true');
12+
}
13+
}
14+
}
15+
});
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2+
// be compatible with the behavior of Pandoc < 2.8).
3+
document.addEventListener('DOMContentLoaded', function(e) {
4+
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5+
var i, h, a;
6+
for (i = 0; i < hs.length; i++) {
7+
h = hs[i];
8+
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9+
a = h.attributes;
10+
while (a.length > 0) h.removeAttribute(a[0].name);
11+
}
12+
});

0 commit comments

Comments
 (0)