Skip to content

Instantly share code, notes, and snippets.

@kbroman
Created September 19, 2014 04:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbroman/ca560b967b0b7a08a3b2 to your computer and use it in GitHub Desktop.
Save kbroman/ca560b967b0b7a08a3b2 to your computer and use it in GitHub Desktop.
A regular code chunk:
```{r regular}
data(cars)
summary(cars)
```
A verbatim code chunk:
<pre><code>```{r verbatim}
data(cars)
summary(cars)
```</code></pre>
Seems like you need to have the `<code>` and the 3 initial backticks on the same
line, and similarly for the ending 3 backticks and `</code>`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment