Skip to main content

Markdown Formatting Every Rule, Ready to Copy

Copy-ready syntax for headings, bold, links, lists, tables, and code, plus the rules GitHub, Discord, Slack, and Reddit each bend. Look it up, click copy, get back to writing.

Checked against CommonMark & GFM
Copy any example in one click
Guides for GitHub, Discord, Slack & more
playground.md
Editor
MarkdownLive Preview

Markdown Formatting Basics

The syntax you will reach for most. Each row links to a guide with copy-ready examples, the mistakes that break it, and how GitHub, Discord, Slack, and Reddit differ.

Basic Markdown formatting syntax with links to each guide
To getTypeFull guide
Heading# HeadingHeadings
Bold**bold text**Bold
Italic*italic text*Italic
Strikethrough~~deleted~~Strikethrough
Link[text](https://example.com)Links
Image![alt text](image.png)Images
List- item or 1. itemLists
Quote> quoted textQuotes
Inline code`code`Code blocks
Code block``` on the line above and belowCode blocks
Table| a | b | then |---|---|Tables
New lineend the line with \Line breaks

Tables, task lists, and strikethrough come from GitHub Flavored Markdown, so they do not render everywhere. See every syntax in the cheat sheet

Quick Start

Pick a category and jump straight to the syntax you need.

Basic syntax
The first rules to learn - headings, emphasis, links, and lists.
Formatting
Text styling beyond the basics, plus workarounds for missing features.
Structure
Organize content with quotes, tables, images, indentation, and tasks.
Code & comments
Inline code, fenced blocks, language identifiers, and comments.
Platform guides
Markdown quirks for the apps and editors you actually use.
AI files
Context files for LLMs and coding agents.

Popular guides

The pages readers visit most right now.

Frequently Asked Questions

What is Markdown formatting?

Markdown formatting means styling plain text with symbols instead of buttons: # for a heading, **text** for bold, *text* for italic, - for a list item, and backticks for code. An app that supports Markdown, such as GitHub, Obsidian, Discord, or a docs site, turns those symbols into formatted text.

Why is my Markdown formatting not working?

Most often the app does not parse that syntax: Slack's classic format uses *single* asterisks for bold, Reddit's rich text editor ignores typed Markdown, and tables only render where GitHub Flavored Markdown is supported. The other usual causes are a missing space (#Heading) and expecting a single Enter to start a new line.

How do I print or save a Markdown file as a PDF?

Open the file in something that renders it, then print to PDF. The free Markdown to PDF converter on this site does it in the browser with selectable text and working links, and the Markdown viewer can print any .md file you open in it.

What is the difference between Markdown and a Word document?

A Markdown file is plain text with visible formatting symbols, so any editor can open it and Git can diff it. A Word .docx file is a zipped XML package that needs Word or a compatible app and hides its formatting. Markdown trades page-layout control for portability.

New to all of this? Start with what Markdown is and what a .md file contains.