Test new post via add-in menu
To write a new post (like this one) using blogdown in RStudio, just click “Addins” -> “New Post” near the top of the RStudio window.
Here’s some junk R code. In the chunk options, just set eval=FALSE.
plot(x)
I should get used to writing (R) markdown pretty quickly, after translating a few of my plot posts.
Just for fun, here’s a plot.
plot(x <- seq(-10,10,length.out=100), sin(x), type='l', xlab='x', ylab='sin(x)')

Syntax highlighting
At time of writing, I’m still having problems with syntax highlighting. Removing line numbers by taking pygmentsOptions = "linenos=table" out of the config.toml file doesn’t help because for some strange reason that removes the background on the displayed code chunks such that I can’t see light-colored text. Here’s an example of how more than one line of code apparently fixes the problem.
myfn <- function(a,b,c){
return (a*b*c)
}
Embedding pictures
And here’s a picture, to test:

Maybe I can do it in a different size (200px):
knitr::include_graphics("/images/test-oc.jpg")

How about 400 px?
knitr::include_graphics("/images/test-oc.jpg")

How about 800?!
knitr::include_graphics("/images/test-oc.jpg")

Shortcodes
I can embed a Youtube video using shortcodes, like:
blogdown::shortcode('youtube', '2xkNJL4gJ9E')
…or a tweet…
blogdown::shortcode('tweet', '852205086956818432')
Anyone know of an R package for interfacing with Alexa Skills? @thosjleeper @xieyihui @drob @JennyBryan @HoloMarkeD ?
— Jeff Leek (@jtleek) April 12, 2017