html_setup | R Documentation |
Overrides the JavaScript knitr engine, registers knitr output hooks, and declares the JS and CSS dependencies that are required to enable the literate JavaScript code chunks inside R Markdown formats that write to HTML.
html_setup(stylize = "none")
html_setup_blogdown(
stylize = c("fonts", "variables", "table", "code", "utility")
)
stylize |
One of "none", "all", "fonts", "variables", "table", "utility", "code", "pandoc-line-numbers" to include the CSS styles developed for js4shiny. |
html_setup_blogdown
: A blogdown-specific HTML setup that includes styles
for <pre>
code blocks, tables, some utility functions, and the CSS
variables declaring the js4shiny colors.
Other js4shiny HTML dependencies:
html_dependency_js4shiny()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.