Просмотр исходного кода

Finally fix all readme image issues

tags/v0.1.1
Garrick Aden-Buie 8 лет назад
Родитель
Сommit
334b653a6f
3 измененных файлов: 14 добавлений и 7 удалений
  1. +3
    -4
      README.md
  2. +5
    -1
      vignettes/rmdchunks/_quick-intro.Rmd
  3. +6
    -2
      vignettes/rmdchunks/_tagline-gif.Rmd

+ 3
- 4
README.md Просмотреть файл

@@ -5,10 +5,9 @@

Give your [xaringan](https://github.com/yihui/xaringan) slides some
style with **xaringanthemer** within your `slides.Rmd` file without
(much)
CSS.
(much) CSS.

<img src="/Users/garrickaden-buie/Dropbox/R/xaringanthemer/vignettes/images/examples.gif" width="100%" />
<img src="vignettes/images/examples.gif" width="100%" />

- [Installation](#installation)
- [Quick Intro](#quick-intro)
@@ -68,7 +67,7 @@ themes\!

<center>

<img src="/Users/garrickaden-buie/Dropbox/R/xaringanthemer/vignettes/images/rmarkdown-template-screenshot.png" width="350px" />
<img src="vignettes/images/rmarkdown-template-screenshot.png" width="350px" />

</center>


+ 5
- 1
vignettes/rmdchunks/_quick-intro.Rmd Просмотреть файл

@@ -35,7 +35,11 @@ if (exists('IS_README') && IS_README) {

<center>
```{r out.width="350px"}
knitr::include_graphics(here::here("vignettes/images/rmarkdown-template-screenshot.png"))
if (exists('IS_README') && IS_README) {
knitr::include_graphics("vignettes/images/rmarkdown-template-screenshot.png")
} else {
knitr::include_graphics(here::here("vignettes/images/rmarkdown-template-screenshot.png"))
}
```
</center>


+ 6
- 2
vignettes/rmdchunks/_tagline-gif.Rmd Просмотреть файл

@@ -2,6 +2,10 @@

Give your [xaringan] slides some style with **xaringanthemer** within your `slides.Rmd` file without (much) CSS.

```{r}
knitr::include_graphics(here::here("vignettes/images/examples.gif"))
```{r echo=FALSE}
if (exists('IS_README') && IS_README) {
knitr::include_graphics("vignettes/images/examples.gif")
} else {
knitr::include_graphics(here::here("vignettes/images/examples.gif"))
}
```

Загрузка…
Отмена
Сохранить