Helper function for knit_asis objects, useful when e.g. partial() was used in a loop.
paste.knit_asis(..., sep = "\n\n\n", collapse = "\n\n\n")
| ... | passed to |
|---|---|
| sep | defaults to two empty lines, passed to |
| collapse | defaults to two empty lines, passed to |
Returns text with the class "knit_asis"
Works like base::paste() with both the sep and the collapse argument set to two empty lines
paste.knit_asis("# Headline 1", "## Headline 2")#>#> # Headline 1 #> #> #> ## Headline 2