> For the complete documentation index, see [llms.txt](https://blog.cweihang.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.cweihang.io/kit/markdown/wx_md.md).

# Markdown here && 微信公众号

## 基本思路

* 首先，微信公众平台是不支持markdown写作的
* 但是，微信公众平台是支持粘贴富文本的
* 然后，有这样一个强大的chrome插件：[Markdown here](https://chrome.google.com/webstore/detail/markdown-here/elifhakcjgalahccnjkneoccemfahfoa?hl=zh-CN)
* 这样我们就可以在微信公众平台中用markdown格式书写，然后ctrl + alt + m

  ![](/files/-L_G1DO-r0QUwxNLvgPD)
* markdown文本就被转成了渲染后的富文本

  ![](/files/-L_G1DO1w5IdpXkK2CJ5)

  **更多的自定义功能**
* 在markdown here的[设置](chrome-extension://elifhakcjgalahccnjkneoccemfahfoa/common/options.html)里，编写自己的css等

  ![](/files/-L_G1DO3o10B2loxN_5J)

  ![](/files/-L_G1DO5EIbj2OKpwzXe)

  ![](/files/-L_G1DO7j01ghM-PGhzJ)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://blog.cweihang.io/kit/markdown/wx_md.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
