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(...)

Arguments

redirectConsole

Include JS and CSS assets to enable literate programming with JavaScript by redirecting console.log() to a chunk- specific output div.

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 FALSE, where only system fonts will be used.

...

Arguments passed to html_dependency_js4shiny().

Functions

  • html_dependency_redirectConsoleLog: Include just the console redirection dependencies.

  • html_dependency_stylize: Include the full or partial js4shiny CSS styles.

See also

Other js4shiny HTML dependencies: html_setup()