View source: R/reporting-render-html.R
convertMdToHtml | R Documentation |
Convert the Md file for a specific chapter to html
convertMdToHtml(
mdFile,
configFile = NULL,
indexPath = "index.Rmd",
intermediateDir = "./interim",
outputDir = "./report",
setTitle = TRUE,
verbose = TRUE,
...
)
mdFile |
String with path of the Markdown file |
configFile |
String with filename of the config file of interest in YAML format. |
indexPath |
String with path to the index file,
by default 'index.Rmd' in |
intermediateDir |
String with intermediate directory ('interim'
by default), where
markdown files and rds file specifying Js libraries (with |
outputDir |
String with output directory, ('report' by default). |
setTitle |
Logical (TRUE by default), should the title be set
to the document? If so, the pandoc metadata option: 'pagetitle' is set to:
base file name of |
verbose |
Logical, if TRUE (FALSE by default) progress messages are printed during the report execution. |
... |
Arguments passed to |
No returned value, the files in the intermediateDir
are converted to HTML
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.