Skip to content

Commit b02acc0

Browse files
perNyfeltperNyfelt
authored andcommitted
add code style to codeblocks in README.md
1 parent 371feb6 commit b02acc0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## version 0.2.0.9000-
33
* Added single quotes around object model in Description
44
* Hide some methods that are internal only from being listed in the documentation using #' #'@keywords internal
5-
* Change group name to org.renjin.cran for renjin build to have the same R code work in both Renjin and GNU-R
5+
* Change group name to org.renjin.cran for the Renjin build to have the same R code work in both Renjin and GNU-R
66

77
## version 0.1.2, 2020-05-06
88
* Removed all print calls and replaced with warning or message when relevant

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can create and xmlr Document programmatically or by parsing text or a file.
1212

1313
# Creating the DOM programmatically
1414
To create the following xml
15-
```
15+
```xml
1616
<table xmlns='http://www.w3.org/TR/html4/'>
1717
<tr>
1818
<td>Apples</td>
@@ -22,7 +22,7 @@ To create the following xml
2222

2323
```
2424
You could do something like this:
25-
```
25+
```r
2626
doc <- Document$new()
2727
root <- Element$new("table")
2828
root$setAttribute("xmlns", "http://www.w3.org/TR/html4/")
@@ -35,7 +35,7 @@ You could do something like this:
3535
doc$setRootElement(root)
3636
```
3737
Or you could do like this:
38-
```
38+
```r
3939
doc2 <- parse.xmlstring("
4040
<table xmlns='http://www.w3.org/TR/html4/'>
4141
<tr>

0 commit comments

Comments
 (0)