diff options
| author | WindowsAddict | 2024-04-12 20:52:46 +0000 |
|---|---|---|
| committer | WindowsAddict | 2024-04-12 20:52:46 +0000 |
| commit | 49b6a863a3908bb879ea1fbc80927af381964357 (patch) | |
| tree | 7111b2b63f2fc1df5bcd091f73955c202eaedb08 /_site/site_libs/header-attrs-2.23/header-attrs.js | |
| parent | ee5954b250a0357acf8708396d1e118e16183de2 (diff) | |
| download | massgrave.dev-49b6a863a3908bb879ea1fbc80927af381964357.zip | |
Finally, deploy Docusaurus generated site in production
Goodbye Rmarkdown
Diffstat (limited to '_site/site_libs/header-attrs-2.23/header-attrs.js')
| -rw-r--r-- | _site/site_libs/header-attrs-2.23/header-attrs.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/_site/site_libs/header-attrs-2.23/header-attrs.js b/_site/site_libs/header-attrs-2.23/header-attrs.js deleted file mode 100644 index dd57d92..0000000 --- a/_site/site_libs/header-attrs-2.23/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); - } -}); |
