How to Write Markdown With a Live Preview and Export HTML or .md
Learn the most useful Markdown syntax and write with a live preview that you can copy as HTML or download as .md or .html.
Markdown is a light way to write formatted text with plain characters. It is used in README files, notes, documentation and many blog platforms. A live preview shows what you are writing as you type.
Quick answer
Type Markdown on one side and see the formatted result on the other. Copy the HTML or download your document as .md or .html.
The syntax you need
# Heading 1
## Heading 2
**bold**, *italic*, `inline code`
- bullet item
1. numbered item
[link text](https://example.com)

> a quotation
## Steps
1. Open the editor and start typing.
2. Watch the preview update.
3. Copy the HTML or download the file.
## Tips
- A blank line separates paragraphs.
- Two spaces at the end of a line create a line break.
- Use `---` for a horizontal rule.
- Tables use `|` and `---` for the header row.
- Keep headings in order (H1, H2, H3) for good structure and accessibility.
## Why use Markdown
- **Portable:** plain text opens anywhere.
- **Versionable:** works well with Git.
- **Fast:** no menus to click.
Your writing stays in the browser and is not uploaded. To produce a PDF, use Markdown to PDF.