My new blog platform is a static jekyll blog with bootstrap for the styling. This solves a huge headache of mine, which was syntax highlighting and equations. I now write my posts in markdown and LaTeX, which will make me post so much more. You can make your own blog like this at my repo: github.com/whitead/SM-Blog. Here’s a few features from the blog:

Image Management

Simply add {% post_image spr.jpg %} to add an image

Syntax Highlighting

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Andrew')
#=> prints 'Hi, Andrew' to STDOUT.

Equations

Here is an equation displayed using Mathjax:

\[ (Ax - 2)^2 \alpha \chi \]

Chart

Now here is a chart made using D3, the data-diven document model.

In text citations

Ruby was written by (Flanagan & Matsumoto, 2008)

  1. Flanagan, D., & Matsumoto, Y. (2008). The Ruby Programming Language. O’Reilly Media.