I am curious to do what happens when you edit a post on this site.
I am using wmd for my markdown editor, of course when I goto edit, I get the HTML it generated not
Look at the optionsExample.html in your WMD distribution. There's an option to send the result to the server as Markdown.
optionsExample.html