Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #788 from lorenzwalthert/issue-787
- Ignore non-R code chunks for styling (#787).
- Loading branch information
Showing
11 changed files
with
381 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,270 @@ | ||
Some text | ||
```{r} | ||
# Some R code | ||
f <- function(x) { | ||
x | ||
} | ||
``` | ||
More text before malformed chunk | ||
# More R code | ||
g <- function(y) { | ||
y | ||
} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
``` | ||
Final text | ||
```{r} | ||
```{r} | ||
1 + 2 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Some text | ||
```{r} | ||
# Some R code | ||
f <- function(x) { | ||
x | ||
} | ||
``` | ||
|
||
|
||
Final text | ||
```{r} | ||
33 | ||
``` | ||
|
||
|
||
Final text | ||
```{SQL} | ||
```{python} | ||
1 + 2 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: x | ||
|
||
--- | ||
this | ||
|
||
```{r} | ||
1 +1 #co | ||
``` | ||
|
||
|
||
````md | ||
`r ""` ```{r, highlight.output=c(1, 3)} | ||
head(iris) | ||
``` | ||
```` | ||
|
||
More text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: x | ||
|
||
--- | ||
this | ||
|
||
```{r} | ||
1 + 1 # co | ||
``` | ||
|
||
|
||
````md | ||
`r ""` ```{r, highlight.output=c(1, 3)} | ||
head(iris) | ||
``` | ||
```` | ||
|
||
More text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
this | ||
|
||
````md | ||
`r Sys.Date() ````{r, highlight.output=c(1, 3)} | ||
head(iris) | ||
``` | ||
```` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
this | ||
|
||
````md | ||
`r Sys.Date() ````{r, highlight.output=c(1, 3)} | ||
head(iris) | ||
``` | ||
```` |
Oops, something went wrong.