Create a loop that includes both a code chunk and text
You can embed the markdown inside the loop using cat(). Note: you will need to set results=”asis” for the text to be rendered as markdown. Note well: you will need two spaces in front of the \n new line character to get knitr to properly render the markdown in the presence of a plot out. … Read more