the IT Hustle
工具实战手册关于
FundamentalsAI辅助2026-04-03•9 min 阅读

The Complete Markdown Cheat Sheet (With Copy-Paste Examples)

作者: Salty Deprecated Software Engineer

✨ AI 辅助内容

本文由 AI 辅助创作,并经团队审核以确保准确性和质量。所有技术信息和示例均已验证。

Markdown is the formatting language behind GitHub READMEs, Notion pages, Slack messages, Discord, Reddit, and most documentation sites. It's also what ChatGPT and Claude output by default. If you work in tech in 2026, you use Markdown whether you know it or not.

This cheat sheet covers everything you need. Bookmark it.

Headings

# Heading 1

## Heading 2

### Heading 3

#### Heading 4

More #s = smaller heading. Use H1 for titles, H2 for sections, H3 for subsections.

Text Formatting

**bold text**

*italic text*

***bold and italic***

~~strikethrough~~

`inline code`

> This is a blockquote

Links & Images

[Link text](https://example.com)

![Alt text](image-url.png)

[Link with title](https://example.com "Hover text")

The ! before brackets makes it an image instead of a link.

Lists

Unordered:

- Item one

- Item two

- Nested item

Ordered:

1. First

2. Second

3. Third

Task list:

- [x] Completed task

- [ ] Pending task

Code Blocks

Inline code:

Use `backticks` for inline code

Fenced code block with syntax highlighting:

```javascript

function hello() {

console.log("Hello!");

}

```

Replace "javascript" with python, bash, sql, css, etc. for proper highlighting.

Tables

| Column 1 | Column 2 | Column 3 |

|----------|----------|----------|

| Row 1 | Data | Data |

| Row 2 | Data | Data |

Alignment:

| Left | Center | Right |

|:-----|:------:|------:|

Colons in the separator row control text alignment.

Horizontal Rules, Footnotes & More

Horizontal rule:

---

Footnotes (GitHub/extended):

Here is a statement[^1].

[^1]: This is the footnote text.

Collapsed section (GitHub):

<details>

<summary>Click to expand</summary>

Hidden content here.

</details>

Where Markdown Works

PlatformSupports
GitHubFull GFM (tables, task lists, footnotes)
NotionMost syntax (paste Markdown, auto-converts)
SlackPartial (bold, italic, code, links, lists)
DiscordMost syntax (no tables)
RedditFull Markdown in old editor
ChatGPT/ClaudeFull — all output is Markdown

Need to format text quickly? Try our free Text Tools Suite for case conversion, word count, and more.

IT
Salty Deprecated Software Engineer

以 The IT Hustle 的编辑笔名写作——25 年以上笔记本维修技师、系统管理员、存储工程师和软件工程师的经验,如今用在 AI 智能体运维上。每篇文章发布前都经过人工审核,详见编辑准则。

我们的工具全部文章关于我们

获取最新资讯

第一时间了解新工具、博客文章和更新动态。无垃圾邮件。

生成专属防幻觉提示词

AI 提示词引擎采用专有技术,生成内置验证和矛盾测试的提示词。

免费试用 3 次 →

公司

  • 关于
  • 实战手册
  • AI 术语表
  • 关于作者
  • 联系我们

产品

  • 工具
  • 价格观察
  • 智能体运维
  • 编程
  • 设计
  • 运维
  • 效率
  • 营销
  • 商务

法律信息

  • 隐私政策
  • 服务条款
  • 免责声明
  • 编辑准则
  • 更正说明

© 2026 Salty Rantz LLC. 版权所有。

为在技术变革中前行的职场人打造。