# NOT RUN {
example_Rmd <- system.file("extdata/example.Rmd", package = "conflr")
# }
# NOT RUN {
# Convert an R Markdown document into a 'Confluence' page interactively
confl_create_post_from_Rmd(example_Rmd)
# You can override most of the parameters of confluence_document()
confl_create_post_from_Rmd(example_Rmd, space = "space1", toc = TRUE)
# }
# NOT RUN {
# }
# NOT RUN {
# A custom R markdown format that can be passed to rmarkdown::render()
format <- confluence_document(space_key = "space1")
rmarkdown::render(system.file("extdata/example.Rmd", package = "conflr"), format)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab