Description Usage Arguments Value
Block building knitr hooks.
Dispatches the block building hook to be set in knitr.
1 2 3 4 5 6 7 8 9 10 11 | block_hook(out.format = "markdown")
hook_html(before, options, envir, name = "literal")
hook_latex(before, options, envir, name = "literal")
hook_markdown_v1(before, options, envir, name = "literal")
hook_markdown_v2(before, options, envir, name = "literal")
hook_markdown_latest(before, options, envir, name = "literal")
|
out.format |
Name of out.format as given by
|
before |
If |
options |
Current knitr chunk options. |
envir |
Environment in which code chunk is evaluated. |
name |
Name of the hook as |
character vector
of built block if before
is TRUE
.
block_hook returns the hook_
function for out.format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.