title: How to format kable table when knit from .rmd to Word (with bookdown)
body: <p>I have read the <a href="https://bookdown.org/yihui/bookdown/" rel="noreferrer">bookdown book</a> and still cannot figure this out. I am trying to create a Word report through <code>bookdown</code>.  I want to use <code>kableExtra</code> to add striping to my tables and also to bold my last table row. Can <code>kableExtra</code> be used when knitting to Word ?</p>
  
  <p>This is a subset of my code :</p>
  
  <pre><code>library(dplyr)    
  knitr::opts_chunk$set(echo = TRUE)
  library(knitr)  # required for kable
  library(kableExtra)  # required for kableExtra
  options(knit.r.table.format = "markdown")
  
  myRegion &lt;- c("a", "b", "c")
  Current_Perc_1 &lt;- c(85.9, 90.8, 89.7)
  Current_Perc_2 &lt;- c(88.0, 91.0, 89.0)
  tab_curr_est_2_times &lt;- cbind(myRegion, Current_Perc_1, Current_Perc_2)
  tab_curr_est_2_times &lt;- as.data.frame(tab_curr_est_2_times, stringsAsFactors = FALSE)
  tab_curr_est_2_times$Current_Perc_1 &lt;- as.double(tab_curr_est_2_times$Current_Perc_1)
  tab_curr_est_2_times$Current_Perc_2 &lt;- as.double(tab_curr_est_2_times$Current_Perc_2)
  tab_curr_est_2_times$curr_change_1_to_2 &lt;- tab_curr_est_2_times$Current_Perc_2 - tab_curr_est_2_times$Current_Perc_1
  
  tab_1_curr &lt;- tab_curr_est_2_times
  tab_1_curr[ nrow(tab_1_curr)+1 , ] &lt;- NA
  tab_1_curr$myRegion[ nrow(tab_1_curr) ] &lt;- "BRITISH COLUMBIA"
  tab_1_curr$Current_Perc_1[ nrow(tab_1_curr) ] &lt;- 88.4
  tab_1_curr$Current_Perc_2[ nrow(tab_1_curr) ] &lt;- 89.3
  tab_1_curr$curr_change_1_to_2[ nrow(tab_1_curr) ] &lt;- 0.9
  
  knitr::kable(tab_1_curr, digits = 1, align = "lccc", position = "c", 
           caption = "\\: my table caption here") %&gt;%
    kable_styling("striped") %&gt;%
    row_spec(nrow(tab_1_curr), bold = TRUE)
  </code></pre>
  
  <p>My bookdown settings are as follows: </p>
  
  <pre><code>--- 
  title: "My Report"
  author: "Me"
  date: "`r Sys.Date()`"
  site: "bookdown::bookdown_site"
  output:
    bookdown::word_document2:
      fig_caption: true
  documentclass: book
  ---
  </code></pre>
  
  <p>When I click on the Knit button in RStudio, I get this table: </p>
  
  <p><img src="https://i.stack.imgur.com/Bj247.png" alt=""></p>
  
  <p>I want the last row to be bold and I want the table striped. How do I do this ? (I also get the following error: "Currently generic markdown table using pandoc is not supported.")    </p>