Helper for knit_print.with_flair

prep_source(x, doc_type)

Arguments

x

Text of source code.

doc_type

Document type to knit to.

Value

Properly wrapped text.