Skip to content

Commit

Permalink
Improve example of code annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaiacs committed Jul 28, 2023
1 parent 21c1c5c commit 15c85f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ a + b
Annotation of code blocks is also supported. For example,

```r
(3 / 2) != (3 %/% 2) # <1>
(3 %/% 2) != (3 %% 2) # <1>
```
1. `%/%` calculates the remainder on integer division.
1. `%%` calculates the remainder on integer division.

## Creation of figure with R

Expand Down

0 comments on commit 15c85f3

Please sign in to comment.