R/chunk.R
rmd.Rd
Retrieve the R Markdown text from an object of class Chunk.
rmd(x) # S4 method for Chunk rmd(x)
S4 object of class Chunk
x <- chunk(1 + 1) rmd(x) #> ```{r} #> 1 + 1 #> ```