microsoft / microsoft/AdaptiveCards
[Rendering] Soft line breaks in lists
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
Target Platforms
NodeJS
SDK Version
1.5
Application Name
Microsoft Teams
Problem Description
I want to render a list with soft linebreaks. See screenshot on how it should behave.
I could not figure out a way to do that using markdown. Let me know if there is a specific syntax for that that works in MS Teams.
Screenshots
Card JSON
{
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"text": "- First Item First Line\nFirstItem Second Line\n- Second Item First Line",
"wrap": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.6"
}
Sample Code Language
No response
Sample Code
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the provided Adaptive Card JSON and screenshot as the reproduction entry point, focusing on the TextBlock list content and its soft line breaks in Microsoft Teams. Determine whether the requested rendering or a supported syntax is expected, then verify that the displayed list matches the screenshot or document the supported limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100