Skip to content

Instantly share code, notes, and snippets.

@njtierney
Created January 23, 2016 04:29
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 njtierney/89c3ce38ea27ea94a7dc to your computer and use it in GitHub Desktop.
Save njtierney/89c3ce38ea27ea94a7dc to your computer and use it in GitHub Desktop.
layout title
post
Another test post

OK so here is my idea about How these post snippets could work. could work.

What problem are you addressing.

In this snippet we address the problem: ...

Code snippet

# dependencies listed
library(ggplot2)

ggplot(data = dat,
       aes(x = x1,
           y = y1)) + 
       geom_point()

Images

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment