feat: Add standalone message TITLE and HTML/Markdown content support
Describe the solution you'd like
- Send Markdown/HTML to API. (Server)
- Display message title in message list (App)
- Display HTML (or translated from Markdown) content in a detail page (App)
Describe alternatives you've considered Like what ServerChan did for Wechat.
Good to have this.
附议,现在使用的是pushdeer,可以展示markdown格式的消息,但是pushdeer很久没更新了,在ios18上兼容性已经无法得到保证,希望作者能够增加对markdown或者HTML格式消息的展示。这个应用扩展性和可玩性还是比pushdeer要高不少的😋
是的 如果能支持markdown格式就太棒了!
确实,就显示效果而言markdown比纯文本要好太多
臣附议,markdown太需要了
可以问下 现在进度怎么样了么 大佬@Finb
https://github.com/Finb/Bark/commit/15d2f62220fbf81e700b08cba95286586f3bd42e 初步支持了markdown. 下一步我会发一个TestFlight版本来测试一下,并收集建议和调整markdown显示样式
有需要的可以试试 https://testflight.apple.com/join/7rA2TUok
使用方式:
curl -X POST 'https://api.day.app/push' \
-H 'Content-Type: application/json' \
-d '{
"device_key": "key",
"markdown": "hello **markdown** !"
}'
有显示问题或建议都可以反馈