You can also set Slack to not render the markdown until the message is sent, which I would thoroughly recommend