Learn R Programming

rock (version 0.8.1)

css: Create HTML fragment with CSS styling

Description

Create HTML fragment with CSS styling

Usage

css(
  template = "default",
  includeBootstrap = rock::opts$get("includeBootstrap")
)

Value

A character vector with the HTML fragment.

Arguments

template

The template to load; either the name of one of the ROCK templates (currently, only 'default' is available), or the path and filename of a CSS file.

includeBootstrap

Whether to include the default bootstrap CSS.