bookdown::gitbook:
includes:
in_header: [ga_script.html]
config:
toc:
collapse: section
before: |
R for Data Science
edit:
link: https://github.com/hadley/r4ds/edit/master/%s
text: "Edit"
sharing: no
css: r4ds.css
bookdown::pdf_book:
latex_engine: "xelatex"