Skip to content

Commit 4098294

Browse files
committed
Update RMarkdown file
Include source: Rmd in the YAML header.
1 parent 0a321c7 commit 4098294

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

_episodes/06-rmarkdown-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
source: Rmd
23
title: "Using RMarkdown"
34
teaching: 10
45
exercises: 2
@@ -77,8 +78,7 @@ ggplot(diamonds, aes(x = carat, y = price, color = cut)) +
7778
~~~
7879
{: .r}
7980

80-
<img src="../fig/rmd-plot-example-1.png" title="plot of chunk plot-example"
81-
alt="plot of chunk plot-example" style="display: block; margin: auto;" />
81+
<img src="../fig/rmd-plot-example-1.png" title="plot of chunk plot-example" alt="plot of chunk plot-example" style="display: block; margin: auto;" />
8282

8383
For the challenges and their solutions, you need to pay attention to where the
8484
`>` go and where to leave blank lines. You can include code chunks in both the

_episodes_rmd/06-rmarkdown-example.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
source: Rmd
23
title: "Using RMarkdown"
34
teaching: 10
45
exercises: 2

0 commit comments

Comments
 (0)