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")

  stylize = c("fonts", "variables", "table", "code", "utility")



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.

See also

Other js4shiny HTML dependencies: html_dependency_js4shiny()