Format selected text in code like slack

Here is a video of backticks working as expected in the Sandbox vault on a Mac:

It also works for inline code.

I don’t know why it’s not working is some vaults, but the troubleshooting steps in the Obsidian debugging guide can help find the source of the problem: About the Bug reports category - #11 by system