06-29-2021 02:09 AM
Hi all
I hope someone could answer me a question about multi line rendering. I've a json output in a python script but my \n always got rendered in a multiline (see attachement json).
Through that behaviour I'm not able to post this json as a message into a webex space because webex posts don't like multiline (see attachement webex).
In the python script I use the following lines to append \n:
Thanks for you help!
Solved! Go to Solution.
06-29-2021 03:59 AM
Hi Guys! Are you using the webexteamssdk? If so you can set a parameter to markdown quite easily and use line breaks. I have an example below where it works for me (from line 208 to 214):
https://github.com/chrivand/twitter_search_threatresponse/blob/master/twitter_search.py#L208
06-29-2021 03:59 AM
Hi Guys! Are you using the webexteamssdk? If so you can set a parameter to markdown quite easily and use line breaks. I have an example below where it works for me (from line 208 to 214):
https://github.com/chrivand/twitter_search_threatresponse/blob/master/twitter_search.py#L208
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide