Markdown Cheat Sheet for Beginners: Basic Syntax Guide
Markdown cheat sheet for beginners: learn basic syntax for headings, lists, links, code, and more with a quick, easy reference you can use today.
Introduction
A Markdown cheat sheet for beginners gives you a quick reference for formatting plain text without learning a complex editor. Markdown is a lightweight syntax that lets you add headings, lists, links, bold text, images, code, tables, and more using simple symbols, so you can write cleanly and keep your content easy to move between tools.
That simplicity is why beginners should learn it. Markdown is easy to read in raw form, quick to type, and portable across platforms. You can use it in README files, GitHub issues, documentation, blog posts, and note-taking apps. It also works well when you want content that stays readable before it is rendered and still looks polished when published.
If you want a deeper starting point, see Markdown basics or learn Markdown basics.
This guide starts with the most useful syntax first, then covers common formatting mistakes, edge cases, and practical tips for using a Markdown editor preview so you can catch problems before you publish.
What is Markdown?
Markdown is plain text with simple symbols that turn into formatted output, such as headings, lists, links, and bold text. You write it in a text editor, then an editor, platform, or static site generator converts it to HTML for display. That makes Markdown easier to write and maintain than HTML, which uses more tags, and easier to manage than rich-text editors, where formatting is hidden behind buttons and can break when copied between tools.
Markdown is beginner-friendly because you can read the source before it renders. For example, # Heading still looks clear as text. Behavior can vary slightly by platform, so standards and variants like CommonMark and GitHub Flavored Markdown matter. For a deeper overview, see the Markdown guide for beginners and the complete Markdown guide.
Markdown Cheat Sheet at a Glance
| Before | After | Example |
|---|---|---|
# H1 to ###### H6 |
Headings | ## Markdown |
**bold** |
Bold | **important** |
*italic* |
Italic | *note* |
- item / 1. item |
Unordered lists / ordered lists | - Apple / 1. Step one |
- parent - child |
Nested lists | - Fruit - Apple |
[text](url) |
Link | [Markdown basics](https://markdownmastery.com/blog/markdown-basics-for-beginners) |
[text][ref] + [ref]: url |
Reference-style links | [guide][m][m]: https://markdownmastery.com/blog/markdown-cheat-sheet |
 |
Image |  |
`code` |
Inline code | Use `npm install` |
|
Fenced code blocks | js<br>console.log("hi")<br> |
> quote |
Blockquote | > Markdown is simple. |
| |
Table cell separator | ` |
--- |
Horizontal rule | --- |
\* \# \[ |
Escaping characters | \*literal asterisk\* |
Markdown syntax varies slightly by platform, but these patterns work in most editors. Use a Markdown cheat sheet while you practice, and check your work in a Markdown editor preview to catch spacing, list nesting, and syntax highlighting issues fast.
Core Formatting: Headings, Emphasis, and Lists
Use # through ###### for H1 to H6 headings: # is H1, ## is H2, and so on. Many editors reserve H1 for the page title, so use H2–H3 for most sections. For emphasis, write **bold**, *italic*, or ***bold italic***; use them sparingly so the text stays readable. Markdown also supports underscores (__bold__, _italic_), but parser behavior can vary, so check the Markdown editor preview when formatting matters.
Ordered lists use numbers, unordered lists use -, *, or +, and nested lists need consistent indentation:
1. First
2. Second
- Fruit
- Apple
- Orange
Leave a blank line before lists, and indent nested items with two spaces or a tab so Markdown renders correctly.
Links, Images, and Code
Use inline links for simple references: [Markdown guide for beginners](https://markdownmastery.com/blog/markdown-guide-for-beginners) or [Markdown guide for beginners](https://markdownmastery.com/blog/markdown-guide-for-beginners "Beginner overview"). Use reference-style links when the same link appears multiple times or you want cleaner prose: [Markdown guide for beginners][1] with [1]: https://markdownmastery.com/blog/markdown-guide-for-beginners. For images, Markdown uses : the ! marks an image, and descriptive alt text helps screen readers and search engines. Use local paths like images/chart.png for files in your project, or remote URLs when the platform allows it. For code, use inline code for short snippets like HTML tags or Markdown syntax, and fenced code blocks for multi-line examples or commands. Add a language identifier such as html, md, or bash after the opening fence to enable syntax highlighting. See the complete Markdown guide for more examples.
Tables, Blockquotes, Horizontal Rules, and Line Breaks
Use tables when you need comparisons, specs, or a quick cheat sheet. Basic syntax uses pipes and a separator row: | Name | Role | then |---|---|; align columns with :---, :---:, or ---:. Example: | Tool | Use | / |---|---| / | VS Code | Editing |. Tables are useful, but they get tedious to write manually, so many people rely on a Markdown cheat sheet or the complete Markdown guide.
Blockquotes start with > and work for quoted text, callouts, or highlighted notes: > Remember to save before previewing. Horizontal rules create section breaks with ---, ***, or ___. For spacing, paragraphs need a blank line between them; a single line break inside a paragraph usually needs two trailing spaces or an editor setting. Check the Markdown editor preview to see how your platform handles line breaks.
Escaping Characters, HTML, and Common Beginner Mistakes
Markdown is not rendering correctly when the parser thinks your text is formatting. Use escaping characters with a backslash to show literals: \*asterisks\*, \_underscores\_, \[brackets\], \(parentheses\), \#hashes. That stops Markdown from turning them into emphasis, links, or headings.
Many processors also allow HTML inside Markdown, but support depends on the platform. GitHub Flavored Markdown and CommonMark handle many cases, yet some sites strip tags or sanitize them, so use HTML only when Markdown cannot do the job.
Common mistakes include missing spaces after list markers (-Item), mismatched symbols (**bold*), forgetting blank lines before lists or block elements, broken links ([text](url), bad indentation in nested lists, and wrong heading hashes (#### when you meant ##). Use Markdown guide for beginners and learn Markdown fast, then check the Markdown editor preview before publishing.
Where Markdown Is Used and How to Learn It Fast
Markdown works best when you need content that stays portable, readable, and easy to edit across tools. You’ll see it in README files on GitHub, project documentation, blog posts, static site generators like Jekyll, Hugo, and Gatsby, note-taking apps such as Obsidian and Notion, and chat tools that support Markdown-style formatting like Slack and Discord.
If you want a practical learning path, start with the basics you’ll use most often: headings, emphasis, lists, links, images, and code. Learn one pattern, use it immediately, then move to the next. That sequence covers most everyday writing and keeps the syntax from feeling overwhelming.
A Markdown editor preview helps you catch mistakes fast, especially when you’re learning. Practice in one app until the basics feel natural, then check the platform’s documentation because Markdown flavors can differ. GitHub Flavored Markdown and CommonMark are close, but not identical, so a feature that works in one place may behave differently elsewhere.
For a deeper refresher, use the complete Markdown guide, learn Markdown basics, and learn Markdown fast. Repetition makes Markdown easier to use, so keep practicing in the tools you already use until the syntax becomes automatic.