PipedreamHQ / pipedream

Connect APIs, remarkably fast. Free for developers.
https://pipedream.com
Other
8.74k stars 5.26k forks source link

[FEATURE] Support markdown within Microsoft Teams messages #12795

Open malexanderlim opened 1 month ago

malexanderlim commented 1 month ago

Is your feature request related to a problem? Please describe. As a user, I'd like to be able to use markdown to send messages using markdown. Currently, Microsoft Graph API does not specifically support markdown, but it accepts HTML. See some discussion about this here.

The following markdown is supported within Microsoft Teams: https://support.microsoft.com/en-us/office/use-markdown-formatting-in-microsoft-teams-4d10bd65-55e2-4b2d-a1f3-2bebdcd2c772#ID0EBD=Desktop

This request is to be able to create a generalized function to convert markdown to HTML (for use across apps where this is relevant), and to implement this in Microsoft Teams using a new called Markdown option under Content Type. We would do the conversion, and send it as HTML. We can also consider using an existing library e.g. https://github.com/showdownjs/showdown for this as well.

malexanderlim commented 1 month ago

Edit: I see we have a prebuilt action here to convert markdown to html - can this be implemented within the component so that the user does not have to use an additional formatting step?
https://pipedream.com/apps/formatting/actions/convert-markdown-to-html