updated syntax styling to have nice headers for code windows
This commit is contained in:
parent
42251dddca
commit
16aab4abb2
7 changed files with 36 additions and 25 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue