basically this is the opposite of titleFlattener

titleUnflattener(textdf, spaceAbove = TRUE)

Arguments

textdf

the df with the text and the section headers

spaceAbove

should there be a line before the sections, Default: TRUE

Value

OUTPUT_DESCRIPTION

Details

DETAILS

Examples

if (FALSE) { if(interactive()){ #EXAMPLE1 text <- c("## First","one","however","two","","## Second","otheer"," - Happy","Thoughts") titleUnflattener(titleFlattener(text, "##")) } }