Skip to contents

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.

Usage

html_setup(stylize = "none")

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

Arguments

stylize

One of "none", "all", "fonts", "variables", "table", "utility", "code", "pandoc-line-numbers" to include the CSS styles developed for js4shiny.

Functions

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