【问题标题】:How to add Hyperlink to adaptive cards如何将超链接添加到自适应卡片
【发布时间】:2021-08-09 13:38:30
【问题描述】:

我想为自适应卡片添加超链接。我正在使用文本块的降价功能。我有以下自适应卡。我参考了以下链接https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/text-features#:~:text=localizing%20the%20text.-,Markdown%20(Commonmark%20subset),of%20the%20Commonmark%20Markdown%20syntax.

{
    "$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.3",
    "body": [
        {
            "type": "TextBlock",
            "text": "This is some **bold** text"
        },
        {
            "type": "TextBlock",
            "text": "This is some _italic_ text"
        },
        {
            "type": "TextBlock",
            "text": "- Bullet \r- List \r",
            "wrap": true
        },
        {
            "type": "TextBlock",
            "text": "1. Numbered\r2. List\r",
            "wrap": true
        },
        {
            "type": "TextBlock",
            "text": "[Adaptiveards](https://adaptivecards.io)"
        }
    ]
}

但在可视化工具中,超链接不起作用。如何为自适应卡片添加超链接?

【问题讨论】:

    标签: adaptive-cards


    【解决方案1】:

    此卡片示例:

    https://www.madewithcards.io/cards/markdown-card

    拥有所有受支持的降价功能。超链接以这种方式工作正常。不确定它们是否在设计器中正常工作。

    【讨论】:

      猜你喜欢
      • 2020-03-29
      • 1970-01-01
      • 2020-02-14
      • 2017-10-12
      • 2020-05-13
      • 2020-09-28
      • 2019-12-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多