Creates an object of class markdown_internal that contains the
content of a markdown file.
.markdown_internal(markdown_file, rendered_html)# S3 method for markdown_internal
toHTML(x, ...)
# S3 method for markdown_internal
to_rmd(block, figures_dir = "figures", ...)
markdown_internal object
(character(1)) path to markdown file.
(shiny.tag) rendered HTML content.
An object to display.
Arguments that will be passed to the next method.
(any) content which can be represented in Rmarkdown syntax.
(character(1)) directory where the R markdown auxiliary files will be saved.
toHTML(markdown_internal): Custom tools::toHTML() method for markdown_internal class that
uses a cached rendering of the module.
to_rmd(markdown_internal): Custom teal.reporter::to_rmd() method for markdown_internal
object will be used to render the report.
This package registers S3 methods for toHTML and to_rmd for this class to
facilitate rendering in teal.reporter.