paste.knit_asis {rmdpartials}R Documentation

Paste and output as is (render markup)

Description

Helper function for knit_asis objects, useful when e.g. partial() was used in a loop.

Usage

paste.knit_asis(..., sep = "\n\n\n", collapse = "\n\n\n")

Arguments

...

passed to base::paste()

sep

defaults to two empty lines, passed to base::paste()

collapse

defaults to two empty lines, passed to base::paste()

Details

Works like base::paste() with both the sep and the collapse argument set to two empty lines

Value

Returns text with the class "knit_asis"

Examples


paste.knit_asis("# Headline 1", "## Headline 2")

[Package rmdpartials version 0.5.8 Index]