updated syntax styling to have nice headers for code windows

This commit is contained in:
B Mathis 2010-03-10 14:22:19 -06:00
parent 42251dddca
commit 16aab4abb2
7 changed files with 36 additions and 25 deletions

View file

@ -2,6 +2,8 @@
layout: default
title: Syntax Highlighting Debug
---
<div class="code_window">
<em>Ruby</em>
{% highlight ruby %}
def rebuild_site(relative)
puts ">>> Change Detected to: #{relative} <<<"
@ -11,9 +13,12 @@ def rebuild_site(relative)
puts '>>> Update Complete <<<'
end
{% endhighlight %}
</div>
So that's a small example. What about a big one?
<div class="code_window">
<em>Ruby</em>
{% highlight ruby %}
require 'active_support/core_ext/array'
require 'active_support/core_ext/hash/except'
@ -219,4 +224,5 @@ module ActiveRecord
end
end
end
{% endhighlight %}
{% endhighlight %}
</div>