-
Notifications
You must be signed in to change notification settings - Fork 7
/
_quarto.yml
54 lines (49 loc) · 1.31 KB
/
_quarto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
project:
type: book
book:
title: "Computational Analysis of Communication"
author: "Wouter van Atteveldt, Damian Trilling & Carlos Arcila"
date: "2022-03-11"
favicon: img/favicon.png
chapters:
- index.qmd
- content/chapter01.qmd
- content/chapter02.qmd
- content/chapter03.qmd
- content/chapter04.qmd
- content/chapter05.qmd
- content/chapter06.qmd
- content/chapter07.qmd
- content/chapter08.qmd
- content/chapter09.qmd
- content/chapter10.qmd
- content/chapter11.qmd
- content/chapter12.qmd
- content/chapter13.qmd
- content/chapter14.qmd
- content/chapter15.qmd
- content/chapter16.qmd
- content/references.qmd
twitter-card:
creator: "@vanatteveldt"
image: content/img/cover.jpg
bibliography: content/references.bib
format:
html:
theme: cosmo
include-after-body:
text: |
<script>
var python = [];
var r = [];
document.querySelectorAll('a[data-bs-toggle="tab"]').forEach((a) => {
var target = a.textContent == "Python code"?python:r;
target.push(new bootstrap.Tab(a));
a.addEventListener('shown.bs.tab', () => target.forEach((tab) => tab.show()));
});
</script>
editor: visual
engine: knitr
execute:
warning: false
freeze: auto