title: RMarkdown image floating
body: <p>I am trying to create an analysis report in Rmarkdown and I am stuck here , below is the example of what I am working on</p>
  <pre><code>---
  output: &quot;pdf_document&quot;
  ---
  </code></pre>
  <p>one small paragraph here</p>
  <pre><code>![test image](linktoimage)\newline
  </code></pre>
  <p>another paragraph below the image</p>
  <p>here if i  use <code>\newline</code>my image is placed as expected between the paragraphs but the caption is missing else if i remove<code>\newline</code> my image is randomly placed at the bottom after rendering the document.</p>
  <p>Kindly help me , I tried placing <code>extra_dependencies: &quot;float&quot;</code> in the YAML header still the result is same. I am working in emacs editor and am using basic markdown language and not r chunks. Kindly help me what I am missing here to get my images in place with caption and not floating.</p>
  <p>Many thanks in advance.</p>
  <p>floating and it is all knitted at the end or in random place</p>