title: How to create a table in Rstudio presentation
body: <p>I'm trying to create a table in an RStudio .Rpres file.  Below is what I have at this point from online searching but the alignment is not correct.  Is this the best method?  Any suggestions on the alignment?</p>
  
  <pre><code>Test
  =========================================================
  | Right | Left | Default | Center |
  |------:|:-----|---------|:------:|
  |   12  |  12  |    12   |    12  |
  |  123  |  123 |   123   |   123  |
  |    1  |    1 |     1   |     1  |
  
    : Demonstration of simple table syntax.
  </code></pre>
  
  <p>Result:</p>
  
  <p><img src="https://i.stack.imgur.com/fFebQ.png" alt="enter image description here"></p>