Graham Ashton
Articles by Graham
-
Setting up rack-codehighlighter
If you write about software, you can make code look more attractive by adding syntax highlighting to your pages. Nesta is a Sinatra app (and is therefore built on top of Rack), which makes it easy to setup syntax highlighting with the
rack-codehighlightergem. -
Making an Art Directed blog
When Geoffrey Grosenbach released the new PeepCode blog it made quite a splash. Each article is beautifully presented with its own unique design. When he wrote about how he’d based his blog on Nesta I got lots of questions asking how to achieve something similar.
-
Using a different Markdown processor
There are a handful of Markdown processing libraries available for Ruby, each with different advantages and features. Since version 0.9.11, Nesta uses Ryan Tomayko’s Tilt library to work out which processor to use when rendering a file within your
contentfolder, which will try and pick a suitable processor for you. This recipe shows you how to change it.