Create hierarchical directories according to (R) Markdown-syntax text
md2dir(
from = NA,
dir_to,
md_list = FALSE,
md_bookdown = TRUE,
dir_quiet = FALSE
)Directories generated.
Character. The source text of the (R) Markdown syntax text, the R code, the FreeMind mind map code, or the path to the directory.
Character. The path of the output directory.
Logical. whether to process lists like headings in the Markdown input.
Logical. Whether the R Markdown syntax text is in bookdown style, i.e. # (PART), # (APPENDIX), and # References as an upper level of the Level 1 heading.
Logical. Whether to display the results of generated directories.