Syntax Highlighting for WordPress

Syntax Highlighting for WordPress

December 16, 2011 8:04 am 0 comments

I need a syntax highlighter if I am going to be placing code up on my blog. I went with CodeColorer after I noticed it supported a Railscasts theme. I’ve been reading Railscasts since the day I first started learning about RoR and it truly is awesome!

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :name
      t.string :email
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Leave a reply