microsoft / AdaptiveCards

A new way for developers to exchange card content in a common and consistent way.
https://adaptivecards.io
MIT License
1.75k stars 550 forks source link

Markdown doesn't interpret backticks properly on Teams when using an AdaptiveCard #4906

Open nmarkey10 opened 3 years ago

nmarkey10 commented 3 years ago

Platform

What platform is your issue or question related to? (Delete other platforms).

Author or host

Currently creating cards to send to Teams via TypeScript express -> express-msteams-host -> botbuilder (cardfactory) -> back to teams. The backtick to create preformatted text does not currently work.

Issue

Issue is stated above. Any help is appreciated!

sparrowt commented 7 months ago

Yes sadly backticks for preformatted or code snippets is not listed on the subset of markdown supported by Adaptive Cards here whereas if you switch to the 'connector cards' tab within that panel then it is there.

It's sad that this functionality which the legacy MessageCard supported has been removed from AdaptiveCard 😢

fraghag commented 3 weeks ago

The triple backticks work here: https://adaptivecards.io/designer but not in teams. Seems like a bug to me!

atc0005 commented 3 weeks ago

See also: