Support reactive documents and embedded Shiny apps in rmarkdown