From 16aab4abb277c2b98947b0983b442741fb19045e Mon Sep 17 00:00:00 2001 From: B Mathis <brandon@imathis.com> Date: Wed, 10 Mar 2010 14:22:19 -0600 Subject: updated syntax styling to have nice headers for code windows --- source/test/syntax.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source/test') diff --git a/source/test/syntax.markdown b/source/test/syntax.markdown index 368ba58d..ec5bab50 100644 --- a/source/test/syntax.markdown +++ b/source/test/syntax.markdown @@ -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 %} \ No newline at end of file +{% endhighlight %} +</div> \ No newline at end of file -- cgit v1.2.1