Files
dow-markdown/README.md
2024-08-07 10:34:12 +08:00

33 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

一款用来适配Dify的chatbot的返回的markdown格式返回的消息处理
**最新更新**
+ 图文混排异常修复
+ 增加对换行的转化修复
**实现功能:**
+ 提取Dify返回的Markdown图片链接中的网址并修改ReplyType为IMAGE_URL以便DoW自动下载Markdown链接中的图片
+ 提取Dify返回的包含网址的Markdown链接中的图片网址并修改ReplyType为IMAGE_URL以便CoW自动下载Markdown链接中的图片
+ 去掉每行结尾的Markdown链接中网址部分的小括号避免微信误以为“)”是网址的一部分导致微信中无法打开该页面。
+ 增加分段发送消息,分割符为markdown语法中的换行标签`<br>`
+ 针对触发绘画的有loading消息触发
+ 支持图文消息拆分发送,Dify兼容性更好了
+ 增加对视频的支持
+ 兼容coze和更广泛的md格式
**安装方法:**
```sh
#installp https://github.com/AceyKubbo/dow-markdown.git
#scanp
```
**配置方法:**
无需任何配置!
**更新方法:**
```sh
#updatep dow_markdown
```