# 使用Markdown对文章进行标记

下文将介绍Markdown的相关基础知识，以WordPress和Gitbook为例。（因为两者都支持Markdown）

### **Markdown 定义**

Markdown 是一种轻量级标记语言，它允许人们使用易读易写的纯文本格式编写文档；

Markdown 语言在 2004 由约翰·格鲁伯（英语：John Gruber）创建；

Markdown 编写的文档可以导出 HTML 、Word、图像、PDF、Epub 等多种格式的文档；

Markdown 编写的文档后缀为 `.md` **，**`.markdown`。

### **Markdown 应用**

Markdown 能被使用来撰写电子书，如：Gitbook；

当前许多网站都广泛使用 Markdown 来撰写帮助文档或是用于论坛上发表消息；

例如：GitHub、简书、reddit、Diaspora、Stack Exchange、OpenStreetMap 、SourceForge等。

### 使用 Markdown 输出 Hello World

实例如下：

```
# Hello World!
```

运行结果如下：

![](/files/-Mhgbpr1TTLGcRCHTxvE)

Markdown在线编辑网站——<https://mahua.jser.me/>； <https://c.runoob.com/front-end/712>。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://thdbd.gitbook.io/thdbd/article/3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
