-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slack: send_card() does not support markdown #42
Comments
Slack states that markdown is disabled by default for attachments (https://api.slack.com/docs/message-formatting). It would be great to have this implemented to enable markdown for attachments. |
I would also enjoy this feature 👍 |
Supporting this, it'd be great to have proper markdown support 👍 |
I support this too 👍 |
Add markdown support for text and pre-text in slack cards. Fixes #839 Signed-off-by: Roi Dayan <[email protected]>
Add markdown support for text and pretext in slack cards. Fixes #839 Signed-off-by: Roi Dayan <[email protected]>
@sheluchin if you have some time, could you check out errbotio/errbot#1284 and see if it addresses your request? |
@andrewthetechie That addresses most of the problem. I did create this ticket specifically because I was trying to put some markdown in the I understand the difficulty of applying your fix to the Unless anyone feels strongly about it, I'll leave this issue open since it's not completely resolved. Maybe it will help someone figure things out at some point in the future. Thanks very much for the fix! |
Related ticket too. |
Using
send_card()
with the Slack backend does not render the given string to markdown prior to passing it to the underlying API.For example:
Results in the sent card actually containing
rather than in the usual Slack inline code style.
This applies to all of the markdown syntax that Slack supports.
The same issue also exists when using the
fields
argument ofsend_card()
.The text was updated successfully, but these errors were encountered: