I want to render function code in a R Markdown document. The problem is, that I don't like the formatting of the rendered function. Is there a possibility to nicely render a function in a R Markdown document?
Here is an example of an output I would like to format. I would like to format the stringr::str_to_upper function without the ## at the beginning of the rows and without the bytecode and environment information.