nice_inline_r | R Documentation |
Yihui gets the credit for this one. http://stackoverflow.com/questions/20409172/how-to-display-verbatim-inline-r-code-with-backticks-using-rmarkdown Writing text to give examples of inline r code is tricky. This function should achieve that.
nice_inline_r(x)
x |
A string of R code for printing as code, inline |
A formatted string
nice_inline_r("round(3.77155454, 3)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.