Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Markdown Blockquotes

Markdown Blockquotes

Blockquotes are used to highlight important information, quote others' opinions, or create visual hierarchy.

Using single-level quotes

Basic syntax:

A Markdown blockquote uses the > symbol at the beginning of a paragraph, followed immediately by aSpacesymbol:

> 区块引用

> Runoob Tutorial

> 学的不仅是技术更是梦想

The display result is as follows:

Multi-line quote:

> 这是引用的第一行。

> 这是引用的第二行。

> 

> 这是引用的第二段。

Simplified form:

Use > only on the first line; the remaining lines are automatically included in the quote:



> 这是一个长引用,

包含多行内容,

只需要在第一行使用 > 符号。

Multi-level nested quotes

Blockquotes can also be nested: one > symbol is the outermost level, two > symbols are the first nesting level, and so on:

> 最外层

> > 第一层嵌套

> > > 第二层嵌套

The display result is as follows:

Practical application example:

> **用户反馈**:这个功能很有用!

> 

> > **开发团队回复**:感谢您的反馈,我们会继续优化。

> > 

> > > **项目经理补充**:预计下个版本会有更多改进。

Using lists inside blockquotes

An example of using a list inside a blockquote is as follows:

> 区块中使用列表

> 1. 第一项

> 2. 第二项

> + 第一项

> + 第二项

> + 第三项

The display result is as follows:

Using blockquotes inside lists

To put a blockquote inside a list item, you need to add four spaces of indentation before the >.

An example of using a blockquote inside a list is as follows:

* 第一项

    > Runoob Tutorial

    > 学的不仅是技术更是梦想

* 第二项

The display result is as follows:


Other elements inside blockquotes

A blockquote can contain almost any other Markdown element.

Containing a heading:



> ## 重要提醒

> 

> 请在操作前仔细阅读文档,避免数据丢失。

Containing a list:

> ### 注意事项

> 

> 1. 备份重要数据

> 2. 检查系统兼容性

> 3. 准备回滚方案

> 

> - 测试环境验证

> - 生产环境部署

> - 监控系统状态

Containing code:

> 要运行这个脚本,请使用以下命令:

> 

> ```bash

> npm install

> npm start

> ```

> 

> 执行后会在 `http://localhost:3000` 看到结果。

Containing links and images:

> 📚 **推荐阅读**

> 

> 详细信息请参考 [官方文档](https://example.com)

> 

> ![示例图片](./images/example.png)

Best practices for quotes

Quoting famous sayings

> "在软件开发中,最昂贵的错误就是构建正确的系统错误的方式,或者构建错误的系统正确的方式。"

> 

> — Barry Boehm,软件工程专家

Important information notice

Success notice:

> ✅ **成功**

> 

> 配置已保存并生效。系统将在下次重启时应用新设置。

Warning notice:

> ⚠️ **警告**

> 

> 此操作不可逆转,请确保已备份重要数据。

Error message:

> ❌ **错误**

> 

> 连接数据库失败,请检查网络连接或联系系统管理员。

Info notice:

> ℹ️ **提示**

> 

> 首次使用需要进行账户验证,验证邮件已发送到您的邮箱。

Quotes in document structure

Section summary:

# 第一章:项目概述



> **本章要点**

> 

> - 了解项目背景和目标

> - 掌握核心功能特性

> - 熟悉技术架构设计

Version update notes:

## v2.1.0 更新内容



> **重大变更**

> 

> ⚠️ API 接口路径已调整,旧版本客户端需要更新

> 

> 详见 [迁移指南](./migration-guide.md)