---
subtitle: "Git together: Dynamische Dokumente erstellen mit Werkzeugen des 21. Jahrhunderts. <br>"
title: "Einführung in Markdown und Git"
author: "<br><br> ifes/iwp | FOM | Sebastian Sauer"
#date: "2019-05-14"
output:
  xaringan::moon_reader:
    lib_dir: libs
    css: ["my-css.css", "xaringan-themer.css", "hygge", "default-fonts"]
    seal: true 
    nature:
      titleSlideClass: ["right", "bottom", "test"]
      # highlightStyle: solarized-dark
      # highlightLines: true
      countIncrementalSlides: false

---







```{r setup, include=FALSE}
options(htmltools.dir.version = FALSE)
```




```{r xaringan-themer, include = FALSE}
library(xaringanthemer)

mono_light(
  base_color = "#23395b",
  header_font_google = google_font("Josefin Sans"),
  text_font_google   = google_font("Montserrat", "300", "300i"),
  code_font_google   = google_font("Droid Mono"),
  header_h1_font_size = "40px",
  header_h2_font_size = "25px",
  link_color = "#ff4000"
)

```



```{r knitr-setup, echo = FALSE}

knitr::opts_chunk$set(
  collapse = TRUE,
  message = FALSE,
  warning = FALSE,
  cache = TRUE,
  out.width = "70%",
  fig.align = 'center',
  fig.width = 6,
  fig.asp =  0.618,  # 1 / phi
  fig.show = "hold",
  size = "tiny",
  dpi = 300,
  echo = FALSE, 
  root.dir = rprojroot::find_rstudio_root_file()
    #fig.path = fig_path
)
  

```

```{r libs}
library(tidyverse)
library(knitr)
library(DT)
library(gridExtra)
library(sessioninfo)
library(plotly)
library(here)
library(DiagrammeR)
library(DiagrammeRsvg)
library(DT)
library(mosaic)
library(rprojroot)
library(here)
library(lubridate)
```



```{r paths-setup}
proj_root <- here::here()
base_url <- "/"
fig_path <- "/imgs/"
```


```{r, load_refs, include=FALSE, cache=FALSE}
library(RefManageR)
BibOptions(check.entries = FALSE,
           bib.style = "authoryear",
           cite.style = "alphabetic",
           style = "markdown",
           hyperlink = FALSE,
           dashed = FALSE)
myBib <- ReadBib("input/bib.bib", check = FALSE)
```


class: middle, inverse

name: agenda

# Gliederung



1. .xxxlarge[.bold[[Reproduzierbarkeit](#repro)]]

2. [Markdown](#partMD)

3. [Git](#partGIT)

4. [Fazit](#partFINAL)



---




# Ihre Erwartungen an diesen Workshop



```{r p-erwartungen, fig.align = "center", out.width = "70%", fig.asp = 0.618}
knitr::include_graphics("https://media.giphy.com/media/XIqCQx02E1U9W/giphy.gif")
```




---

# Lernziele



TEIL .bold[*EINFÜHRUNG*]

  1. Relevanz von Reproduzierbarkeit vermitteln


TEIL .bold[*MARKDOWN*]

  2. Nützlichkeit/Anwendungsfälle von Markdown vermitteln
  3. Kompetenz für typische Anwendungsfälle (für Markdown) vermitteln

TEIL .bold[*GIT*]

  4. Nützlichkeit/Anwendungsfälle von Git vermitteln
  5. *Grund*kompetenz (von Git) vermitteln


---








```{r child = "chapters/part-repro.Rmd"}
```



```{r child = "chapters/part-md.Rmd"}
```


```{r child = "chapters/part-git.Rmd"}
```



```{r child = "chapters/part-final.Rmd"}
```



