View source: R/pandocfilters.R
Code | R Documentation |
Constructs an inline object of type "Code"
.
Code(code, name = "", language = NULL, line_numbers = FALSE, start_from = 1)
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 |
Code("lm(hello ~ world)", "my_r_inline_code", "R", TRUE, 0) Code("lm(hello ~ world)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.