View source: R/mod_additional_info.R
display_document | R Documentation |
This function will take a Markdown document (.md) or Word document (.docx) and return the UI for a Shiny app to display it. This should be embedded within a UI code (see examples for details).
display_document(file)
file |
The file (path) containing a document to display. |
html tags of the rendered doc
## Not run: ui <- shiny::fluidPage( shiny::mainPanel( display_document('path-to-your-file') ) ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.