title: Break R Markdown into pages with page number at the bottom
body: <p>I have a markdown file which is very long so I want to break it into section with page numbers at the bottom so the reader can choose a page number. </p>
  
  <p>I tried to use <code>page break</code> like this: </p>
  
  <pre><code>hello world
  \newpage
  ```{r, echo=FALSE}
  1+1
  ```
  \pagebreak
  ```{r, echo=FALSE}
  plot(1:10)
  ```
  </code></pre>
  
  <p>but there is still one markdown and not many pages. How can I produce a markdown using knite html with page numbers at the bottom for other pages?</p>