mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-06-15 22:46:48 +00:00
Merge branch 'master' of gitlab.com:MisterBiggs/projects
This commit is contained in:
commit
e47966adf0
@ -1434,7 +1434,7 @@ code span.wa { color: #5e5e5e; font-style: italic; } /* Warning */
|
||||
</script>
|
||||
|
||||
<!--/radix_placeholder_distill-->
|
||||
<script src="continuous-integration-and-systems-engineering_files/header-attrs-2.7/header-attrs.js"></script>
|
||||
<script src="continuous-integration-and-systems-engineering_files/header-attrs-2.10/header-attrs.js"></script>
|
||||
<script src="continuous-integration-and-systems-engineering_files/jquery-1.11.3/jquery.min.js"></script>
|
||||
<script src="continuous-integration-and-systems-engineering_files/popper-2.6.0/popper.min.js"></script>
|
||||
<link href="continuous-integration-and-systems-engineering_files/tippy-6.2.7/tippy.css" rel="stylesheet" />
|
||||
|
@ -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);
|
||||
}
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user