Code {pandocfilters} | R Documentation |
Inline Code
Description
Constructs an inline object of type "Code"
.
Usage
Code(code, name = "", language = NULL, line_numbers = FALSE, start_from = 1)
Arguments
code |
a character string giving the inline code |
name |
an optional character string giving the name of the inline code chunk |
language |
an optional character string giving the programming language |
line_numbers |
a logical which controls if line numbers should be used |
start_from |
an integer giving the first line number |
Examples
Code("lm(hello ~ world)", "my_r_inline_code", "R", TRUE, 0)
Code("lm(hello ~ world)")
[Package pandocfilters version 0.1-6 Index]