Good markdown guide is here.
We also support most of the extensions introduced in GitHub Flavored Markdown.