Description Usage Arguments Details
An output format suitable for subsequent processing by hugo's Blackfriday.
Unlike the default markdown format, YAML is always preserved, no TOC is ever
generated, and text is not wrapped. A plot hook is set to output figures as
a {{< figure >}}
shortcode unless chunk option use_shortcode
is FALSE.
1 2 3 4 5 6 7 8 9 10 11 12 |
fig_width, fig_height, fig_retina, dev |
as in
|
fig_path |
global setting for |
highlight_shortcode |
If TRUE (default), fenced code blocks become
|
transparent_plots |
If TRUE, set background of base and ggplot2 plots to transparent. FALSE by default. |
includes, md_extensions, pandoc_args |
as in
|
Other default knitting options set here:
tidy,error,warning,message,prompt
are all FALSE; autodep,cache
are TRUE; the figure output path is set to figure/
; output width is
set to 44; and the global option knitr.table.format
is temporarily
set to html
so that kable
will output tables in
HTML (it cannot output blackfriday-compatible markdown tables). These
settings can be overridden in the usual ways.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.