inst/apps/020-knit-html/Readme.md

This example shows you how to knit an R Markdown document using the two packages knitr and markdown, and include the HTML output in a shiny app. Note we are using R Markdown v1 here, which has a couple of differences with v2. The basic idea is to call knitr::knit2html() with the argument template = FALSE to generate a fragment of HTML code.



rstudio/shinycoreci documentation built on April 11, 2025, 3:17 p.m.