Debian Codegraph @

man/html_notebook_output.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/html_notebook_output.R
3 \name{html_notebook_output}
4 \alias{html_notebook_output}
5 \alias{html_notebook_output_html}
6 \alias{html_notebook_output_img}
7 \alias{html_notebook_output_png}
8 \alias{html_notebook_output_code}
9 \title{Generate R Notebook Output}
10 \usage{
11 html_notebook_output_html(html, meta = NULL)
12
13 html_notebook_output_img(
14 path = NULL,
15 bytes = NULL,
16 attributes = NULL,
17 meta = NULL,
18 format = c("png", "jpeg")
19 )
20
21 html_notebook_output_png(
22 path = NULL,
23 bytes = NULL,
24 attributes = NULL,
25 meta = NULL,
26 format = c("png", "jpeg")
27 )
28
29 html_notebook_output_code(code, attributes = list(class = "r"), meta = NULL)
30 }
31 \arguments{
32 \item{html}{Arbitrary HTML content to insert.}
33
34 \item{meta}{An \R list of arbitrary meta-data. The data will
35 be converted to JSON, base64-encoded, and injected into the header comment.}
36
37 \item{path}{A path to a file. For functions accepting both \code{path}
38 and \code{bytes}, if \code{bytes} is \code{NULL}, the bytewise contents
39 will be obtained by reading the file.}
40
41 \item{bytes}{The bytewise representation of content.}
42
43 \item{attributes}{A named \R list of HTML attributes. These will be
44 escaped and inserted into the generated HTML as appropriate.}
45
46 \item{format}{The image format; one of \code{"png"} or \code{"jpeg"}.}
47
48 \item{code}{Source code.}
49 }
50 \description{
51 Utilities for generating output for the \code{html_notebook} format,
52 through the \code{output_source} function attached to a
53 \code{\link{output_format}}.
54 }
55 \details{
56 See the \href{https://rmarkdown.rstudio.com/r_notebook_format.html}{online
57 documentation} for additional details on using the \code{html_notebook}
58 format.
59 }