format_traditional {simplermarkdown} | R Documentation |
Format the result of running a block of code
Description
Format the result of running a block of code
Usage
format_traditional(x)
format_copypaste(x)
Arguments
x |
the result of running the code. See 'details' for the format. |
Details
The input vector x
should be a list. Each element of this list should
be a list with two elements: input
and output
. input
should contain the evaluated expression; this can be more than one line.
output
should contain the output of the evaluation. When there is no
output this is character vector of length 0.
Value
A character vector of length 1 with the formatted code.
[Package simplermarkdown version 0.0.6 Index]