diff options
author | B Mathis <brandon@imathis.com> | 2009-11-12 10:19:36 -0600 |
---|---|---|
committer | B Mathis <brandon@imathis.com> | 2009-11-12 10:19:36 -0600 |
commit | 1eddd60a716accb9252600202b79f25a7ceda904 (patch) | |
tree | f32be4dc9def10bb206b6be792ab638160d6f39f /source/test/syntax.markdown | |
parent | 790d5a447cf732a2f3f336c4984ef9a386fd155a (diff) | |
download | my_new_personal_website-1eddd60a716accb9252600202b79f25a7ceda904.tar.xz my_new_personal_website-1eddd60a716accb9252600202b79f25a7ceda904.zip |
updated syntax style, added javascript for expanding code blocks
Diffstat (limited to 'source/test/syntax.markdown')
-rw-r--r-- | source/test/syntax.markdown | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/source/test/syntax.markdown b/source/test/syntax.markdown index 8a406628..368ba58d 100644 --- a/source/test/syntax.markdown +++ b/source/test/syntax.markdown @@ -2,18 +2,19 @@ layout: default title: Syntax Highlighting Debug --- -{% highlight ruby linenos %} - def rebuild_site(relative) - puts ">>> Change Detected to: #{relative} <<<" - IO.popen('rake generate') do |io| - print(io.readpartial(512)) until io.eof? - end - puts '>>> Update Complete <<<' +{% highlight ruby %} +def rebuild_site(relative) + puts ">>> Change Detected to: #{relative} <<<" + IO.popen('rake generate') do |io| + print(io.readpartial(512)) until io.eof? end - + puts '>>> Update Complete <<<' +end {% endhighlight %} -{% highlight ruby linenos %} +So that's a small example. What about a big one? + +{% highlight ruby %} require 'active_support/core_ext/array' require 'active_support/core_ext/hash/except' require 'active_support/core_ext/object/metaclass' |