Codrspace / codrspace

The blogging platform for coders.
http://codrspace.com
Other
35 stars 13 forks source link

Change code highlighting delimiters to use github-style code fences #50

Closed durden closed 11 years ago

durden commented 12 years ago

We currently use a format like this to do syntax highlighting the markdown text:

[code lang="python"] def x(): return 1 [/code]

However, it might be more obvious and convenient if we switch this to use the code fencing style that github itself uses:

def x():
    return 1

The reasoning for this is just that we are already tied pretty heavily to github so using their syntax seems like a bonus.

glenbot commented 11 years ago

Added github style code fencing fa1c4b66d427de3789b63eae03d3ff28f8de8247