html_dependency_js4shiny | R Documentation |
Include the various HTML JavaScript and CSS assets created for js4shiny.
html_dependency_js4shiny(
redirectConsole = TRUE,
jsonview = TRUE,
stylize = "all",
use_google_fonts = FALSE
)
html_dependency_redirectConsoleLog()
html_dependency_stylize(...)
redirectConsole |
Include JS and CSS assets to enable literate
programming with JavaScript by redirecting |
jsonview |
Include JS and CSS assets to enable tree view display of JSON objects for the knitr json engine. |
stylize |
One of "none", "all", "fonts", "variables", "table", "utility", "code", "pandoc-line-numbers" to include the CSS styles developed for js4shiny. |
use_google_fonts |
Should fonts hosted on Google Fonts be included?
Default is |
... |
Arguments passed to |
html_dependency_redirectConsoleLog
: Include just the console redirection
dependencies.
html_dependency_stylize
: Include the full or partial
js4shiny CSS styles.
Other js4shiny HTML dependencies:
html_setup()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.