Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit ee3ae5b

Browse files
committed
Merge pull request #39 from codeclimate/slack_markdown
Allow markdown in slack messages.
2 parents b6820e6 + 1277f6e commit ee3ae5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/cc/services/slack.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def speak(message, color = nil)
4040
body = { attachments: [{
4141
color: color,
4242
fallback: message,
43-
fields: [{ value: message }]
43+
fields: [{ value: message }],
44+
mrkdwn_in: ["fields", "fallback"]
4445
}]}
4546

4647
if config.channel

0 commit comments

Comments
 (0)