This question already has an answer here:
Precisely which type of markdown (afaik there are quite a few variants) and editor (the one I am typing in right now) is Stack Overflow using?
I hope there's also a PHP implementation, so I can turn markdown into HTML in the backend?
Ultimately I want to turn a very proprietary wordpress theme into being markdown based, since I find this the exact right balance between complexity and ease of use. Many 'wiki syntaxes' are in my opinion off to one side or the other.