Top

How to format chatbot reply text?

Comments

3 comments

  • Official comment
    Vincent BAILLEAU

    Hi sunny,

    I suggest instead of using HTML content to use the markdown format as described in https://hub.openrainbow.com/#/documentation/doc/sdk/node/guides/Answering_chat_message

    at "ADDITIONAL CONTENT TYPE AND MESSAGE" chapter.

    Regards

    Vincent

    Comment actions Permalink
  • Sunny Singh

    Hello Vincent,

    Thank you for the reply.

    Now I am able to consume markdown content type.

    I am not to form a list by using markdown Lists-+ or `* ``.

    Could you please give me an example of the string format.

    I have tried the below combinations. It doesn't work. Correct me if my string format is incorrect.

    Example 1:  "-list 1,list 2,list 3+"

    Example 2:  "`list 1*list 2*list 3``"

     

    Is it possible to have different headers in a  single string message?

    Example: "#heading1 ##heading2 ###heading3 ####heading4"

    It doesn't work for me with the above string format.

    Also please give me an example each on Code and Blockquotes.  

    Regards,

    Sunny

     

    0
    Comment actions Permalink
  • Vincent BAILLEAU

    Hi Sunny,

    don't forget to carriage return each time

    #heading1

    ## heading2

    * list 1

    * list 2

    ....

    take a look here: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet (we just support a subset as described in our documentation

    Regards

    Vincent

    0
    Comment actions Permalink

Please sign in to leave a comment.

  • Ask the Community

    Do you need help? Ask your questions to the Community and get answers from other Rainbow users.

    Post message