layout | title |
---|---|
post |
Another test post |
OK so here is my idea about How these post snippets could work. could work.
In this snippet we address the problem: ...
# dependencies listed
library(ggplot2)
ggplot(data = dat,
aes(x = x1,
y = y1)) +
geom_point()
One approach could be to make a folder called "assets" that contains the images, and then link to it.
Another thing we could look into is making the blog accept RMarkdown documents, which would include the pictures "automagically". However, I am not entirely sure on the direction that we want to go - as I think that this complicates things a little. In my opinion it would be best if people could just commit a short snippet with a short bit of code, and a small bit of text describing what it does, and what the problem solves. Then, if people want to expand on it more then can write their own blog post about it?