Tutorial2024-05-05
Markdown for Absolute Beginners: The Only Guide You'll Ever Need
Markdown is the simplest way to write formatted text. Learn it in 10 minutes and you'll never open Microsoft Word again.
#markdown#beginner#writing#documentation#productivity
嗨!我是萌新酱!今天来教大家一个超级实用的技能——Markdown!
如果你经常写文档、写笔记、写博客,Markdown 会让你的生活简单 10 倍。我保证,10 分钟就能学会!
什么是 Markdown?
Markdown 是一种用纯文本写格式化内容的方式。不用 Word,不用 Google Docs,就一个文本文件。
基础语法(5 分钟学会)
1. 标题
# 一级标题
## 二级标题
### 三级标题
#### 四级标题
2. 粗体和斜体
**粗体文字**
*斜体文字*
***粗斜体***
3. 列表
无序列表:
- 第一项
- 第二项
- 子项目(缩进两个空格)
- 第三项
有序列表:
1. 第一步
2. 第二步
3. 第三步
4. 链接和图片
[链接文字](https://www.example.com)

5. 代码
行内代码:
用 `console.log()` 打印日志
代码块:
```javascript
function hello() {
console.log("Hello, World!");
}
```
6. 引用
> 这是一段引用文字
> 可以有多行
7. 表格
| 列1 | 列2 | 列3 |
|-----|-----|-----|
| A | B | C |
| D | E | F |
进阶技巧
任务列表
- [x] 已完成的任务
- [ ] 未完成的任务
- [ ] 另一个待办
分割线
---
脚注
这是一段文字[^1]。
[^1]: 这是脚注内容。
在哪里用 Markdown?
- GitHub — README.md, Issues, PR descriptions
- Notion — 支持 Markdown 快捷键
- Slack/Discord — 消息格式化
- 博客 — 静态博客系统(Hugo, Jekyll, Next.js)
- 文档 — 技术文档首选格式
我的建议
学 Markdown 就像学骑自行车——简单到不需要教程,但骑上就再也回不去了。
今天就打开一个文本文件,写几个 # 和 **,感受一下。
需要格式化你的文本内容?试试我们的免费 Markdown 编辑器 — 实时预览,所见即所得。
🛠
Explore More Text Tools
Discover more tools and tutorials in this category
Related Articles
2025-03-30
README Best Practices: The Documentation That Actually Gets Read
I judge projects by their README in 30 seconds. Here's what makes me stay...
2024-08-22
Coding Tips That Hit Different (No Cap)
Bestie, if you're still console.log debugging... we need to talk fr fr...
2026-07-25
README-Driven Development: Why I Write Docs Before Code
If you can't explain it in a README, you can't code it. Here's my process...