Botframework-sdk: Newline in string not working C#

Created on 6 Jul 2016  路  7Comments  路  Source: microsoft/botframework-sdk

Newline in string not working C# what i do help me

Problematic image
image

i want this
image

All 7 comments

Yes this would really helpful. Even i tried with the markdown options given in the link. Since the bot docs it is given as text property is markdown

I have found that if I use a StringBuilder and do the following, it works

sb.AppendLine(myText);
sb.AppendLine("");
db.AppendLine(otherText);

To create a line break in markdown you have to end a line with two spaces.
Take a look at the sample on Wikipedia: https://en.wikipedia.org/wiki/Markdown

Let is know if that does not work for you.

Its not working for me, In Microsoft Bot Framework Emulator it working fine but when i upload on web for final check and try on the skype its same as before its not working in skype
Please help me what i do

@inornos hey! '\n' works when i deployed it on skype. However in emulator two spaces gives a new line.

<br/> works for me in emulator

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daveta picture daveta  路  3Comments

RaoVenka picture RaoVenka  路  3Comments

sebsylvester picture sebsylvester  路  3Comments

kenyeung128 picture kenyeung128  路  3Comments

mattlanham picture mattlanham  路  3Comments