From 4e27102c79489ec1f17a6f03abcd39f3986c134b Mon Sep 17 00:00:00 2001 From: walnuts1018 Date: Sun, 31 Mar 2024 20:20:46 +0900 Subject: [PATCH] add `` --- slack/slack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slack/slack.go b/slack/slack.go index bd699f1..60e9eb4 100644 --- a/slack/slack.go +++ b/slack/slack.go @@ -234,7 +234,7 @@ func (c *Client) ForwardMessage(ctx context.Context, everythingChannelID string, Type: slack.MBTSection, Text: &slack.TextBlockObject{ Type: slack.MarkdownType, - Text: fmt.Sprintf("<%s|#%s> %s", permalink, sourceChannelName, message.Text), + Text: fmt.Sprintf("<%s|`#%s`> %s", permalink, sourceChannelName, message.Text), }, }, }