Skip to main content

Notifications

Copilot Studio - General
Unanswered

How to display markdown format

Posted on by 59

 

According to the following document, Microsoft Teams supports markdown format as chatbot message.

 

https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/format-your-bot-messages

 

From Power Virtual Agent, how can I display such markdown format message?

Do I have to use a adaptive card?

 

Categories:
  • T_TERADA Profile Picture
    T_TERADA 59 on at
    Re: How to display markdown format

    @HenryJammes ,

    Thank you. I see.

    >>Teams supports a subset of Markdown and XML (HTML) formatting tags.

    >>Text-only messages don't support table formatting.

     

    It looks html table is not supported yet, but it works in some situations (in below).

    That's what's confusing me.

     

    T_TERADA_0-1694090112074.png

     

     

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: How to display markdown format

    Please refer to the Teams documentation on the supported formats: Bot message format - Teams | Microsoft Learn

  • T_TERADA Profile Picture
    T_TERADA 59 on at
    Re: How to display markdown format

    @HenryJammes ,

    Thank you for your prompt reply.

     

    MS Teams doesn't (or cannot) render HTML inside markdown format? such as..

    ```html

    <table>

      :

    </table>

    ```

     

    Regards,

    T.TERADA

     

     

     

     

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: How to display markdown format

    This isn't the Markdown format for tables, I was expecting something like this: https://www.markdownguide.org/extended-syntax/#tables

    But maybe Teams as specific way to handle tables and HTML is the way to go.

  • T_TERADA Profile Picture
    T_TERADA 59 on at
    Re: How to display markdown format

    @HenryJammes ,

    Thank you.

    If I send a html table in markdown format.

    T_TERADA_0-1694084360537.png

     

    If I send a table in HTML format.

    T_TERADA_1-1694084420550.png

     

    So, if I want to show a table, do I have to use HTML format?

     

    Regards,

    T.TERADA

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: How to display markdown format

    Hi @T_TERADA,

     

    On the latest version of PVA, you can use markdown formatting directly in the text editor.

    So, [Bing](https://www.bing.com) will render as Bing 

     

    You can use these Markdown formats in Teams: Use Markdown formatting in Microsoft Teams - Microsoft Support

     

    Henry

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 138,287

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,172

Leaderboard