Have you seen http://prose.io/?
Looks similar to mangomarkdown, and it's open source. I'm using it in a project I'm working on and loving it.
Edit: actually, I think I like the mango style even better. Didn't realize this before, but the markdown tags are hidden after you type - pretty neat. (My initial test was a few heading tags, which still display the '#' in the margin).