diff options
author | B Mathis <brandon@imathis.com> | 2010-03-10 14:22:19 -0600 |
---|---|---|
committer | B Mathis <brandon@imathis.com> | 2010-03-10 14:22:19 -0600 |
commit | 16aab4abb277c2b98947b0983b442741fb19045e (patch) | |
tree | dd18f31283d4b8558431ca2799d32ab8ad6e14c2 /source | |
parent | 42251dddcadd8ff23f30b128f1f468b18c0adf92 (diff) | |
download | my_new_personal_website-16aab4abb277c2b98947b0983b442741fb19045e.tar.xz my_new_personal_website-16aab4abb277c2b98947b0983b442741fb19045e.zip |
updated syntax styling to have nice headers for code windows
Diffstat (limited to 'source')
-rw-r--r-- | source/_includes/config.haml | 17 | ||||
-rw-r--r-- | source/_layouts/default.haml | 2 | ||||
-rw-r--r-- | source/images/code_bg.png | bin | 0 -> 239 bytes | |||
-rw-r--r-- | source/test/syntax.markdown | 8 |
4 files changed, 8 insertions, 19 deletions
diff --git a/source/_includes/config.haml b/source/_includes/config.haml deleted file mode 100644 index 7ac49a85..00000000 --- a/source/_includes/config.haml +++ /dev/null @@ -1,17 +0,0 @@ ---- -blog_title: My Octopress Blog - -twitter_user: -tweet_count: 3 -show_replies: false - -delicious_user: -delicious_count: 3 - -full_url: -disqus_short_name: - -google_custom_search_id: -google_analytics_tracking_id: - ----
\ No newline at end of file diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml index 9f4468b7..279682dd 100644 --- a/source/_layouts/default.haml +++ b/source/_layouts/default.haml @@ -2,7 +2,7 @@ blog_title: My Octopress Blog author: -twitter_user: +twitter_user: imathis tweet_count: 3 show_replies: false diff --git a/source/images/code_bg.png b/source/images/code_bg.png Binary files differnew file mode 100644 index 00000000..a57bab56 --- /dev/null +++ b/source/images/code_bg.png 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 |