diff options
| author | DESKTOP-V026VQF\Home | 2023-01-09 08:19:51 +0000 |
|---|---|---|
| committer | DESKTOP-V026VQF\Home | 2023-01-09 08:19:51 +0000 |
| commit | e4022303c0b96007a65fa64d67db70bf9135906b (patch) | |
| tree | 427b30e1c73fa58470c5ebb669e8d5224df635c6 /_site/site_libs/header-attrs-2.14/header-attrs.js | |
| parent | 48cc759920f59260fe3f9a3a79ff0be277174cc9 (diff) | |
| download | massgrave.dev-e4022303c0b96007a65fa64d67db70bf9135906b.zip | |
Rmarkdown and TB link update
Diffstat (limited to '_site/site_libs/header-attrs-2.14/header-attrs.js')
| -rw-r--r-- | _site/site_libs/header-attrs-2.14/header-attrs.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/_site/site_libs/header-attrs-2.14/header-attrs.js b/_site/site_libs/header-attrs-2.14/header-attrs.js deleted file mode 100644 index dd57d92..0000000 --- a/_site/site_libs/header-attrs-2.14/header-attrs.js +++ /dev/null @@ -1,12 +0,0 @@ -// 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); - } -}); |
