Skip to content

Instantly share code, notes, and snippets.

@taylorreiter
Last active February 4, 2020 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taylorreiter/18a7f83e6c2a8b8419988c147fc3327c to your computer and use it in GitHub Desktop.
Save taylorreiter/18a7f83e6c2a8b8419988c147fc3327c to your computer and use it in GitHub Desktop.
contains rmarkdown formatting strings that I use all the time and always forget.
Create a horizontal scroll bar for code chunks in an html doc:
```{css, echo=FALSE}
pre, code {white-space:pre !important; overflow-x:auto}
```
Change the width of a markdown figure:
![](figures/dag_quant.png){ width=30% }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment