Helper function for knit_asis objects, useful when e.g. asis_knit_child() 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 |
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