Merge markdown files into one unique file
See also
Other reporting:
addFigureChunk()
,
addTableChunk()
,
addTextChunk()
,
anchor()
,
copyReport()
,
getAnchorName()
,
getFigurePathsFromReport()
,
hasAnchor()
,
renderReport()
,
renderWordReport()
,
resetReport()
Examples
if (FALSE) { # \dontrun{
resetReport("chapter-1.md")
addTextChunk(fileName = "chapter-1.md", text = "Chapter 1")
resetReport("chapter-2.md")
addTextChunk(fileName = "chapter-2.md", text = "Chapter 2")
mergeMarkdownFiles(
inputFiles = c("chapter-1.md", "chapter-2.md"),
outputFile = "chapters-1and2.md"
)
} # }