Skip to content

Commit

Permalink
Escape backticks to demo inline code
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Sep 29, 2020
1 parent f35d508 commit 25f7c93
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
27 changes: 13 additions & 14 deletions docs/articles/introduction.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions vignettes/introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ We provide `paste_oxford_list()` to help you do just that.
animals <- c('cats', 'dogs', 'fish')
```

Insert the string as inline code with ``r ``:
Insert the string as inline code with `` `r ` ``:

```
`r paste_oxford_list(animals)` are the most common pets.
```
> `` `r "\u0060r paste_oxford_list(animals)\u0060"` `` are the most common pets.
Rendered output:

Expand Down

0 comments on commit 25f7c93

Please sign in to comment.