R/funcs.R
titleUnflattener.Rd
basically this is the opposite of titleFlattener
titleUnflattener(textdf, spaceAbove = TRUE)
textdf | the df with the text and the section headers |
---|---|
spaceAbove | should there be a line before the sections, Default: TRUE |
OUTPUT_DESCRIPTION
DETAILS
if (FALSE) { if(interactive()){ #EXAMPLE1 text <- c("## First","one","however","two","","## Second","otheer"," - Happy","Thoughts") titleUnflattener(titleFlattener(text, "##")) } }