Skip to content

Commit

Permalink
there is no view.pdf; only view.jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Jan 17, 2020
1 parent 3a2cf1e commit 06e8928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/rmarkdown/templates/peerj_article/skeleton/skeleton.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ Standard \LaTeX references will work as well (e.g. Fig. \ref{fig:view}).
<!-- 2. The RMarkdown way -->

```{r view, out.width = "100%", fig.cap = "An example image.", echo = FALSE}
knitr::include_graphics("view.pdf")
knitr::include_graphics("view.jpg")
```


<!-- 3. The pandoc way -->
<!--
![An example image. Text *can* be processed with markdown.](view.pdf){#view width = 100%}
![An example image. Text *can* be processed with markdown.](view.jpg){#view width = 100%}
-->

Expand Down

0 comments on commit 06e8928

Please sign in to comment.