
So I had a brief issue with a previous post after migrating to wordpress – it converted all my quotes to fancy quotes and thus made the code unpasteworthy. My first reaction was to hard code all the quotes and that did work, but a little more research reveal that wordpress.com now has built-in source code displaying (including syntax highlighting) via the sourcecode tag. Using Marsedit, you can define a macro that does it all for you, as follows:
Opening Tag:
Closing Tag:
Here’s how some Ruby code might look:
def extended_euclid(a,b)
x,y,r,m = a, b, a % b, Matrix.identity(2)
while r > 0
q = (x/y).to_i
x,y,r,m = y, r, y % r, m * Matrix[[0,1],[1,-1 * q]]
end
return [y,m]
end
September 8, 2009 at 1:16 am
Hello Co forum members first of all id like to introduce myself as an avid tooth whitening fan and allow everyone interested to Look at my teeth whitening systems. On another note I really doam happy with the discussion board and am very excited to become an active member!
February 9, 2010 at 9:05 pm
http://10host.ru/eu.jpg
http://imperator.biz
February 25, 2010 at 8:23 pm
ACHTUNG…die ZIEGEN Grippe kommt
???
http://24-news.org/