Search code examples
slack-block-kit

How do I make a hyperlink in Slack Block Kit mrkdwn (markdown) block?


How can I make a link in a slack markdown block in Slack Block Kit?

I've tried what I'm used to using for markdown:

This is a [link](https://www.stackoverflow.com)

But that isn't working.


Solution

  • Slack's Block Kit "mrkdwn" might be a bit different from what you are used to. You will need to do the following instead:

    This is a <https://www.stackoverflow.com|link>
    

    You can see this in action in Slack's Block Kit Building (you will need to sign in to a workspace)