Warm tip: This article is reproduced from serverfault.com, please click

How to break line in language generation file in botframework

发布于 2020-12-04 10:47:22

I have long text line in the language generation file of my bot. How to break line of code to improve visibility?

# PromptForDestinationCity
- Where would you like to travel to? There are plenty of options. Just choose one. Or do whatever else you would like to. Enjoy!
- What is your destination city?

into this (but it will result with error)

# PromptForDestinationCity
- Where would you like to travel to? There are plenty of options. Just choose one. Or
do whatever else you would like to. Enjoy!
- What is your destination city?
Questioner
Kuba K
Viewed
0
Dana V 2020-12-05 01:27:47

Please see this section on multiline text.

Basically:

# PromptForDestinationCity
- ``` Where would you like to travel to? 
      There are plenty of options. 
      Just choose one. Or do whatever else you would like to. Enjoy!
  ```
- What is your destination city?