I'd like to insert a knitr::kable table into a bookdown document that I'm rendering to
pdf_book. However, it appears that the *asterisk* and _underscore_ markdown methods for italicizing text aren't respected during the render.
Here's my example:
--- title: "test" output: bookdown::pdf_book: keep_tex: yes ---
knitr::opts_chunk$set(echo = TRUE)
df <- data.frame(Standard = "This is standard", Italics = "*This piece* should be in italics") knitr::kable( df, booktabs = TRUE, caption = 'Testing italics using kable' )
Here's the output: