Markdown Cheat Sheet: The Complete Reference
Back to Articles
Developer Guides

Markdown Cheat Sheet: The Complete Reference

The definitive Markdown reference. Covers headings, lists, links, images, code blocks, tables, task lists, and extended GitHub Flavored Markdown syntax.

DailyUtil Team May 12, 2026 1 min read 0 words
Markdown Cheat Sheet: The Complete Reference

What Is Markdown?

Markdown is a lightweight markup language created by John Gruber in 2004. It lets you write formatted content using plain text syntax that's easy to read even before rendering. Markdown is used everywhere - GitHub READMEs, documentation sites, blogs, note-taking apps, and even chat platforms like Slack and Discord.

Basic Syntax

Headings

# Heading 1
## Heading 2
### Heading 3
#### Heading 4

Emphasis

*italic* or _italic_
**bold** or __bold__
***bold italic*** or ___bold italic___
~~strikethrough~~
[Link Text](https://example.com)
[Link with Title](https://example.com "Hover text")
![Alt Text](image-url.png)

Lists

Unordered:

- Item one
- Item two
  - Nested item

Ordered:

1. First
2. Second
3. Third

Blockquotes

> This is a blockquote.
> It can span multiple lines.

Code

Inline: Use backticks: `const x = 42`

Block: Use triple backticks with a language identifier:

```javascript
function greet(name) {
  return `Hello, ${name}!`
}
```

Horizontal Rules

---

GitHub Flavored Markdown (GFM)

GitHub extends standard Markdown with several useful features:

Tables

| Feature | Supported |
|---------|-----------|
| Tables  | ✅ Yes     |
| Emoji   | ✅ Yes     |

Task Lists

- [x] Completed task
- [ ] Pending task
- [ ] Another pending task

URLs are automatically converted to clickable links: https://dailyutil.com

Footnotes

Here is a statement[^1].

[^1]: This is the footnote content.

Tips for Better Markdown

  1. Use ATX-style headings (#) - not underline-style
  2. Always add alt text to images - for accessibility
  3. Use reference links for repeated URLs
  4. Use fenced code blocks with language identifiers for syntax highlighting
  5. Keep lines under 80 characters for readability in plain text

Preview Your Markdown

Use our Markdown Viewer to render Markdown with full GFM support - tables, task lists, syntax highlighting, and live preview as you type.

Need to export? Try our Markdown to PDF converter for professional, printable documents.

Share this article