Botframework-sdk: Send message with multiple line breaks

Created on 27 Aug 2016  路  4Comments  路  Source: microsoft/botframework-sdk

Hi, I am trying to send message with 2 line breaks in between sentence, but it will just trim to 1 line break (in facebook messenger), is there anyway to workaround that?

I tried to add "\n\n \n\n", but it still just give 1 line break.

Thanks.

Most helpful comment

Hi folks, markdown collapses newlines. You can find more detail here: http://daringfireball.net/projects/markdown/syntax#p

Some channels support the <br/> element, which can be used to insert a linebreak. This works in Skype and I don't have an example handy in Facebook but you could try it there.

All 4 comments

Same "problem" with skype output. No way to paragraph a message

Any update on this ?

Hi folks, markdown collapses newlines. You can find more detail here: http://daringfireball.net/projects/markdown/syntax#p

Some channels support the <br/> element, which can be used to insert a linebreak. This works in Skype and I don't have an example handy in Facebook but you could try it there.

I'm assuming your question has been answered. If not, please create a new issue. Thanks!

Was this page helpful?
0 / 5 - 0 ratings