Friday, April 20, 2007

MarsEdit markdown test.

This is a test of MarsEdit's Markdown capabilities. Why use Markdown?

- It's easier to write
- It's easier to read the source

This is some code:

def rot2d(x, y, ang):
'rotate vectors by geometric angle'
xr = x*cos(ang) - y*sin(ang)
yr = x*sin(ang) + y*cos(ang)
return xr, yr

So, check out [this link](http://www.red-sweater.com/blog/324/marsedit-markdown), or see how [Markdown syntax works](http://daringfireball.net/projects/markdown/syntax).

No comments:

Post a Comment