When sending a message with the backtick (`) character for code formatting, Slack is ignoring the formatting.
This is working correctly under Teams. Also, using <code></code> works in Teams but not in Slack.
export default function helpLibrary (dependencies) {
const lib = new builder.Library('help')
lib.dialog('/', (session, args) => {
session.endDialog('Help is `disabled`')
})
.triggerAction({ matches: 'help' });
return lib.clone()
}
Slack will format the text inside backticks as code.
Slack ignores the backticks.
I had a look to your issue and can confirm that I got the same problem with C#: I tried single, double and triple backsticks, even HTML encoded:
C#
await context.PostAsync($: Help is `disabled` (x1) or ``disabled`` (x2) ordisabled(x3), with html: `disabled`");
Result is the following: no code formatting / all backsticks removed.

@bilby91 Did you try escaping the backtick chars with preceding slash \?
--> session.send("Message with \`code formatting\` here");
@nwhitmont Yes, this doesn't work:
session.send("foo \`code\` foo");
(Here the markdown is escaping some chars)
Verified this is a bug.
This is a bug in Microsoft internal Slack connector right?
@nwhitmont Any ETA for a fix ?
@bilby91 Just got a fix checked-in today. Should be working shortly.
fixed
@nwhitmont backticks are still not working in NodeJS/Slack, could be this other issue https://github.com/Microsoft/BotBuilder/issues/3399 related? looks like markdown support isn't working fine for Slack.
Yes, still facing this issue.
Most helpful comment
Yes, still facing this issue.