joshtronic

Posted in Productivity

Creating links in Slack

Depending on if you have the "Format messages with markup" option selected, you may or may not have a button to create links available to you. Here's some notes on both scenarios.

"Format messages with markup" option disabled

If you have this option disabled (default situation), you should be able to find a typical looking link button on your toolbar. Hint, you may need to click Aa or just highlight the text you want to link, which will present some options.

From there you'll be able to add a URL and create a link, easy peasy.

"Format messages with markup" option enabled

I'm not entirely sure when I had opted out of the WYSIWYG editor, but when I did, I lost the button that allows you to create links.

Slack supports a painfully limited subset of Markdown when composing messages. The syntax to create a link includes wrapping the text you want to link in square brackets [...], followed by the URL wrapped in parentheses (...).

Put it together and it looks like this:

[some text to link](https://example.com)

You can toss this into the middle of a message as such:

This is a message with [a link](https://example.com) in the middle.

Just type in or paste the URL

Of course, you can just add a URL to the message, and it will automatically link. This tends to be fine for smaller stuff, and domains with standards TLDs and such.