matrix-org / matrix-org/matrix-python-sdk
Add room.send_markdown API
未关闭
还没有人认领这个 Issue。
Client layer
enhancement
good first issue
- 主要语言
- Python
- 星标
- 266
- 派生
- 118
- PR 合并指标
- 30 天内没有已合并 PR
描述
It seems it's not possible to send markdown messages as of today.
Will you consider adding support for it, or is there any workaround (like converting markdown to html automatically then use send_html?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位现有的 room.send_html API,并检查 room 消息发送入口是如何进行测试的。检查 Matrix 对 markdown 和 HTML 消息格式的要求,包括 issue 中提到的变通方案。当 room.send_markdown 可用且其行为有文档说明,同时测试覆盖其消息输出时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100