How Markdown Converts to HTML: Tags, Lists, and Code
Markdown is a set of shorthand rules, and HTML is what those rules compile to. Understanding how markdown converts to html saves you from mystery formatting bugs: the missing blank line that glues a list to a paragraph, the heading that renders as plain text, the code block that swallowed half the document. This guide maps the common Markdown constructs to their HTML output, works through a real snippet in the Markdown to HTML tool, and covers the GitHub flavored extras that most sites now expect.