When used in a loop, blocks output anything
because knit_print
method is not called. In that situation,
use the function to force printing. Also you should tell the chunk
to use results 'as-is' (by adding results='asis'
to your chunk header).
knit_print_block(x, ...)
a block object, result of a block function from officer package
unused arguments
None. the function only print XML code.
Copy example located here:
system.file(package = "officedown", "examples", "word_loop.Rmd")