Skip to content

Commit e32df98

Browse files
use smd and gtsummary
1 parent 7d675ce commit e32df98

File tree

10 files changed

+795
-332
lines changed

10 files changed

+795
-332
lines changed

slides/raw/05-pscore-diagnostics.Rmd

Lines changed: 168 additions & 176 deletions
Large diffs are not rendered by default.

slides/raw/05-pscore-diagnostics.html

Lines changed: 615 additions & 156 deletions
Large diffs are not rendered by default.
157 KB
Loading
114 KB
Loading
142 KB
Loading
3.45 KB
Loading
113 KB
Loading
135 KB
Loading
135 KB
Loading
Lines changed: 12 additions & 0 deletions
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)