For questions both about the built-in editor for this site and also for question about preparing posts using different programs.
The standard editor used to enter Stack Exchange questions, answers, wiki entries, user profile about me field, and so forth. It supports a live preview of Markdown syntax.
This editor is open source.
On the server it is MarkdownSharp.
On the client it is PageDown.