Skip to contents

This function will take the Rmarkdown file contained in a folder and transform it to a markdown file that can be taken by mkdocs to render a HTML file

Usage

publish_folder_notes(file, mkdocs_build = FALSE, mkdocs_deploy = FALSE)

Arguments

file

The Rmarkdown file that we want to convert to markdown

mkdocs_build

TRUE if you want to build the mkdocs documentation. This will run the mkdocs build --config-file=mkdocs.yml command

mkdocs_deploy

TRUE if you want to deploy the mkdocs documentation. This will run the mkdocs gh-deploy --strict --force command

Author

Ronny Alexander Hernández Mora

Examples

if (FALSE) {
convert_rmd_md(file = "check.Rmd")
}