title: Render Rmd file with pipe formatting for tables
body: <p><strong>Problem</strong></p>
  <p>I have a <code>.Rmd</code> template file which I currently use to render PDFs using <code>rmarkdown::render</code>.</p>
  <p>I need the option to also render the <code>.Rmd</code> as a markdown file. I have tried setting <code>output_format</code> to <code>md_document</code> in <code>rmarkdown::render</code> however this produces a markdown file containing lots of html tags for the tables etc. I don't want any html; I need it to be readable in a console, with tables formatted using the markdown pipe styling.</p>
  <p><strong>What I've tried</strong></p>
  <p>I tried setting <code>output_format</code> to</p>
  <pre><code>output_format(knitr = rmarkdown::knitr_options(opts_knit = list(knitr.table.format = &quot;pipe&quot;)), 
  pandoc = rmarkdown::pandoc_options(to = rmarkdown::rmarkdown_format())
  </code></pre>
  <p>but this style produces a markdown file with html tags instead of piped tables.</p>
  <p>How do I set the markdown render settings to render as I need?</p>