I just figured out that you can style a link as inline code in markdown i.e. toSorted() It鈥檚 a bit non-intuitive since, unlike bold or italics, the backticks go inside the square brackets instead of around the entire link.
This gives a bold link: **[EFF](https://eff.org)**. This is for italics: *[Markdown Guide](https://www.markdownguide.org)*. And this is for code: [`toSorted()`](https://www.brandonpugh.com/til/javascript/tosorted/). In my testing this seems supported in most places like github and azure devops. Unfortunately I couldn鈥檛 find a way get it styled like that in Teams.