microsoft / microsoft/AdaptiveCards

[Rendering] Soft line breaks in lists

Open
#9,254 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Renderers Bug
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
Image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.