title: Output a good-looking matrix using renderTable()
body: <p>I am creating a matrix in my server. I would like to then output this matrix on the screen using renderTable(). (I create it in the server because its length (among others) depends on some other inputs in the ui).</p>
  
  <p>As you will see with the code (or the attached picture) here below, the matrix that appears does not look good at all :it's a matrix with grey borders, rounded corners etc. </p>
  
  <p>So the question: is there a way to control the appearance of the matrix ? For example, I may not want borders, I may want the rownames to be in Italics/bold etc... </p>
  
  <pre><code>shiny::runApp(
  list(
  ui = pageWithSidebar(
  
  headerPanel("TEST"),
  
  sidebarPanel(
  helpText('This matrix is pretty ugly:')
  ),
  
  mainPanel(    
  uiOutput('matrix')     
  )
  )
  , 
  server = function(input,output){
  output$matrix &lt;- renderTable({
  
  matrix &lt;- matrix(rep(1,6),nrow=3)
  
  rownames(matrix) &lt;- c('a','b','c')
  matrix
  
  })
  }
  )
  )
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/4nhzS.jpg" alt="enter image description here"></p>