Quellcode durchsuchen

Oops, setup README.Rmd > github README.md

tags/v0.1.1
Garrick Aden-Buie vor 8 Jahren
Ursprung
Commit
f3e768a738
4 geänderte Dateien mit 57 neuen und 368 gelöschten Zeilen
  1. +1
    -0
      .Rbuildignore
  2. +14
    -1
      README.Rmd
  3. +0
    -367
      README.html
  4. +42
    -0
      README.md

+ 1
- 0
.Rbuildignore Datei anzeigen

@@ -1,2 +1,3 @@
^.*\.Rproj$
^\.Rproj\.user$
^README\.Rmd$

+ 14
- 1
README.Rmd Datei anzeigen

@@ -1,3 +1,17 @@
---
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# xaringanthemer

[xaringan]: https://github.com/yihui/xaringan
@@ -38,4 +52,3 @@ mono_dark(
)
```
````


+ 0
- 367
README.html
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 42
- 0
README.md Datei anzeigen

@@ -0,0 +1,42 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

# xaringanthemer

Easily style your [xaringan](https://github.com/yihui/xaringan) slides
with **xaringanthemer**

## Installation

Currently, this is a work in progress. Try it yourself:

``` r
devtools::install_github("gadenbuie/xaringanthemer")
```

## Make it work

To make it work, add `css: xaringan-themed.css` to your xaringan slides
YAML header under `xaringan::moonreader:`

``` yaml
output:
xaringan::moon_reader:
lib_dir: libs
css: xaringan-themed.css
```

Then, in the first knitr chunk, try this:

```` markdown
```{r setup}
options(htmltools.dir.version = FALSE)
library(xaringanthemer)
mono_dark(
base_color = "#b6174b",
header_font_google = google_font("Josefin Sans"),
text_font_google = google_font("Montserrat", "300", "300i"),
code_font_google = google_font("Droid Mono")
)
```
````

Laden…
Abbrechen
Speichern