title: Jekyll Markdown, compiling images with paragraph tags
body: <p>This is just a simple problem but it's one that I can't find on Google to solve this. Basically what is happening is that I have a Jekyll website, and I'm using kramdown for the markdown compiling.</p>
  
  <p>When I add an image to a markdown file like below:</p>
  
  <pre><code>![Image Alt Tag](path/to/image)
  </code></pre>
  
  <p>It will compile it with a <code>&lt;p&gt;</code> tag when I don't want it to as seen below.</p>
  
  <pre><code>&lt;p&gt;&lt;img src="path/to/image" alt="Image Alt Tag" /&gt;&lt;/p&gt;
  </code></pre>
  
  <p>This is how I would like the markdown file to compile with an image tag</p>
  
  <pre><code>&lt;img src="path/to/image alt="Image Alt Tag" /&gt;
  </code></pre>
  
  <p>I am wondering where I'm going wrong or why Jekyll is compiling the images with paragraph tags.</p>
  
  <p>Thanks in advance</p>
  
  <p><strong>---Edit: Tried another way but ended up with the same problem</strong></p>
  
  <p>I have tried this with only adding the <code>html</code> code which would be below:</p>
  
  <pre><code>&lt;img src="path/to/image" alt="Image Alt Tag" /&gt;
  </code></pre>
  
  <p>and it would still compile with adding <code>&lt;p&gt;</code> tags as seen below.</p>
  
  <pre><code>&lt;p&gt;&lt;img src="path/to/image" alt="Image Alt Tag" /&gt;&lt;/p&gt;
  </code></pre>
  
  <p>I am wondering why the markdown file is still adding <code>&lt;p&gt;</code> tags to html code when it is not needed?</p>