title: Can I center and middle a figure in html xaringan R
body: <p>I notice that you can center and middle the layout of a slide using <code>class: center, middle</code> in xaringan slides, but that changes the title and layout of the entire slide. You can also center the image by:</p>
  
  <pre><code>.center[
  ![]('foo.svg')
  ]
  </code></pre>
  
  <p>But I wonder if I can center the plot and also make it at middle of the slide without changing the layout of the entire page in xaringan?</p>
  
  <p>Thanks!</p>