Top

How to format chatbot reply text?

Kommentare

3 Kommentare

  • Offizieller Kommentar
    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

    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare Permalink

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie können immer noch nicht finden, was Sie brauchen?

  • Kontaktieren Sie uns

    Haben Sie eine Frage zu Rainbow? Hinterlassen Sie uns eine Nachricht, um weitere Informationen zu erhalten.

    Kontakt
  • Fragen Sie die Gemeinschaft

    Brauchen Sie Hilfe? Stellen Sie Ihre Fragen in der Community, um Antworten von anderen Rainbow-Benutzern zu erhalten.

    Nachricht posten