Skip to main content

Notifications

Announcements

No record found.

Power Platform Community / Forums / General / How to display markdow...
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

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

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

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,954

#3
Expiscornovus Profile Picture

Expiscornovus 1,648