title: Placement of pictures in markdown/bookdown
body: <p>I am writing a text in bookdown with Rstudio and want to include a picture within the text like this:</p>
  
  <pre><code>Some text goes here
  
  ```{r, fig.cap="\\label{fig:figs}figlabel"}
  knitr::include_graphics("images/image.png")
  ```
  Some other text goes here.
  </code></pre>
  
  <p>However, when I render the book with bookdown::render_book("index.Rmd"), The inserted picture is placed on the next page rather than where it is placed in the text. I want it to be placed between the two sentences, but it is placed below the last one. </p>
  
  <p>Is there a way to control where in the text the image is rendered? I have tried to look at <a href="https://yihui.name/knitr/options/#plots" rel="nofollow noreferrer">chunk options for images</a>, and also in the <a href="https://bookdown.org/yihui/bookdown/figures.html" rel="nofollow noreferrer">bookdown documentation</a>, but neither seem to document ways to control placement of figures.</p>