<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Sending newlines in markdown via API doesn't seem to work in Webex Administration</title>
    <link>https://community.cisco.com/t5/webex-administration/sending-newlines-in-markdown-via-api-doesn-t-seem-to-work/m-p/4031797#M515</link>
    <description>&lt;P&gt;I've tried all manner of escaping '\n'. Either the post fails with an error, or the '\n' is printed verbatim in the Teams window. I really need to have code blocks that respect newlines in these API posts. How?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;curl -H "Authorization: Bearer tokenhere" https://api.ciscospark.com/v1/messages --form "roomId=roomidhere" --form 'markdown="```\nline 1\nline2\n```"'&lt;/PRE&gt;&lt;P&gt;I've tried "markdown=..." as well without single quotes. I've tried spaces around the newlines. I've tried actual newlines. Wjhat's the magic combo?&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 20:42:48 GMT</pubDate>
    <dc:creator>CamRunr</dc:creator>
    <dc:date>2020-02-18T20:42:48Z</dc:date>
    <item>
      <title>Sending newlines in markdown via API doesn't seem to work</title>
      <link>https://community.cisco.com/t5/webex-administration/sending-newlines-in-markdown-via-api-doesn-t-seem-to-work/m-p/4031797#M515</link>
      <description>&lt;P&gt;I've tried all manner of escaping '\n'. Either the post fails with an error, or the '\n' is printed verbatim in the Teams window. I really need to have code blocks that respect newlines in these API posts. How?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;curl -H "Authorization: Bearer tokenhere" https://api.ciscospark.com/v1/messages --form "roomId=roomidhere" --form 'markdown="```\nline 1\nline2\n```"'&lt;/PRE&gt;&lt;P&gt;I've tried "markdown=..." as well without single quotes. I've tried spaces around the newlines. I've tried actual newlines. Wjhat's the magic combo?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 20:42:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-administration/sending-newlines-in-markdown-via-api-doesn-t-seem-to-work/m-p/4031797#M515</guid>
      <dc:creator>CamRunr</dc:creator>
      <dc:date>2020-02-18T20:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sending newlines in markdown via API doesn't seem to work</title>
      <link>https://community.cisco.com/t5/webex-administration/sending-newlines-in-markdown-via-api-doesn-t-seem-to-work/m-p/4033213#M518</link>
      <description>&lt;P&gt;Try 2 blanks before "&amp;nbsp; \n".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"markdown"&lt;/SPAN&gt;&lt;SPAN&gt;:"&amp;nbsp; \nLine 1&amp;nbsp; \nLine2&amp;nbsp; \n"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Feb 2020 16:39:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-administration/sending-newlines-in-markdown-via-api-doesn-t-seem-to-work/m-p/4033213#M518</guid>
      <dc:creator>Robert Ecke</dc:creator>
      <dc:date>2020-02-20T16:39:11Z</dc:date>
    </item>
  </channel>
</rss>

