title: Markdown JSON string
body: <p>I'm trying to send a json string with markdown signs to an API.
  If I'm sending the following string it works fine:<br>
      <code>"## Heading 2 \n * List item \n * List item"</code></p>
  
  <p>But if I use the following string:</p>
  
  <p><code>"## Heading 2 \n ## Heading 2 \n * List item \n * List item"</code></p>
  
  <p>It will not work at all. The first \n just disappears and it makes a heading like: </p>
  
  <p><strong>Heading 2 ## Heading 2</strong></p>
  
  <p>What I need to achieve is this:</p>
  
  <pre><code>&lt;p&gt;A paragraph with some text.&lt;/p&gt;
  &lt;h2&gt;A heading&lt;/h2&gt;
  &lt;ul&gt;
      &lt;li&gt; item 1 &lt;/li&gt;
      &lt;li&gt; item 1 &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>