Including code with QuickCode

If you want to include your program code in a WordPress blog post, use the quickcode tag once you have installed the QuickCode plugin for your blog.

As an example, I’l include a little ditty from Ruby:

name = ask(”what is your name?”)

puts “very nice to meet you, #{name}”

1.upto(name.length) do |i|

{

puts “I can spell the first #{i.to_s} letters”

}

UPDATE: I’ve given up on Quick Code so ignore this post.

Leave a Reply