Description Usage Arguments See Also Examples
This returns a function which can be passed as the page
argument to
a Stage object. When the page is shown brew
will be called
on filename
. The variables id
, period
, params
and error
will be available within the brew file. params
is
a named list of HTML parameters. error
is a character vector of errors,
e.g. from a form submission. Typically it will be character(0)
.
1 | b_brew(filename)
|
filename |
Path of the file to brew. |
Other page creation: b_knit
1 2 3 4 | ## Not run:
text_stage(page=b_brew("mybrewfile.html"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.