botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Skype Web Control] Markdown support?

Open algomaks opened this issue 9 years ago • 4 comments

System Information

  • SDK Language: Node.js
  • SDK Version: 3.9.1
  • Development Environment: Localhost & Azure

Bot Info

  • Bot name: Test Bot 2
  • Bot handle: tv-test-bot-2
  • App ID: bcfdd1f3-1e9d-45d9-8d1e-df5f75682a47
  • Connected channels: Skype Web Control

Issue Description

I am using Skype Web Control and I am experiencing a problem with the Markdown support. More precisely, when I am using bullets + links or bullets + bold text in a message, the bullets are not rendered correctly. When clicked, the links also open inside the iframe of Skype Web Control instead of opening in a new window.

Code Example 1

When I send the following message: session.send('Here are the options we can offer you: \n\n * Option 1 [link](https://www.microsoft.com) \n\n* Option 2 [link](https://www.microsoft.com) \n\n* Option 3 [link](https://www.microsoft.com)');

I get the following result:

1

When I do not use links or bold in the bullets, everything is rendered as expected.

2

Steps to Reproduce the Issue

  1. Open a conversation with a bot via the Skype Web Control.
  2. Send a message including markdown with bullets + links from the bot to the user.

Expected Behavior

The bullets should be rendered with HTML and links should open in a new window/tab when clicked.

Actual Results

Bullets are not rendered as HTML but as plain text. Also the links open inside the iframe instead of opening in a new tab. They are missing "target=_blank".

algomaks avatar Aug 21 '17 23:08 algomaks

As of this writing, Skype Web Control does not support Markdown formatted messages.

See: https://support.skype.com/en/faq/FA34704/what-is-skype-web-control

What can I send through Skype Web Control?

You can send messages, pictures, and files. We're keeping things simple so you can't send emoticons yet. To send attachments, select the attachment icon and then choose a file to send.

nwhitmont avatar Aug 22 '17 00:08 nwhitmont

Well, apparently it does support Markdown in messages but it does not support it completely since some combinations of Markdown elements do not work well together.

algomaks avatar Aug 22 '17 20:08 algomaks

Need only BOLD and ITALIC. Any idea...? Please share.

ganesh1190 avatar Jan 19 '18 10:01 ganesh1190

Any update on support for markdown? I am trying to show code markdown using ```. and it doesn't work.

RishabhTayal avatar Mar 15 '18 15:03 RishabhTayal