-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
16,835 additions
and
10 deletions.
There are no files selected for viewing
206 changes: 206 additions & 0 deletions
206
_posts/2024-07-21-enumerate-possible-options/enumerate-possible-options.Rmd
Large diffs are not rendered by default.
Oops, something went wrong.
1,756 changes: 1,756 additions & 0 deletions
1,756
_posts/2024-07-21-enumerate-possible-options/enumerate-possible-options.html
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...21-enumerate-possible-options/enumerate-possible-options_files/anchor-4.2.2/anchor.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
...21-enumerate-possible-options/enumerate-possible-options_files/bowser-1.9.3/bowser.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
744 changes: 744 additions & 0 deletions
744
...enumerate-possible-options/enumerate-possible-options_files/distill-2.2.21/template.v2.js
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...erate-possible-options/enumerate-possible-options_files/header-attrs-2.27/header-attrs.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to | ||
// be compatible with the behavior of Pandoc < 2.8). | ||
document.addEventListener('DOMContentLoaded', function(e) { | ||
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child"); | ||
var i, h, a; | ||
for (i = 0; i < hs.length; i++) { | ||
h = hs[i]; | ||
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6 | ||
a = h.attributes; | ||
while (a.length > 0) h.removeAttribute(a[0].name); | ||
} | ||
}); |
Oops, something went wrong.