That said, even if that is how it is expected to work (from a technical point of view) if you generate the message from Bash, it might not be obvious and indeed might be unexpected.
To make it easier to work with the step, I created a PR for the Slack step which will now auto-convert the \
+ n
chars in a string to the \n
escape sequence.