Learn R Programming

bsTools (version 0.1.0)

bs_doc: Create a HTML document preconfigured to load Bootstrap5 from the CDN

Description

Create a HTML document preconfigured to load Bootstrap5 from the CDN

Usage

bs_doc(head = NULL, body)

Arguments

head

A string of HTML that will be passed to the html5::head() function.

body

A string of HTML that will be passed to the html5::body() function

Value

A string of HTML.

Examples

Run this code
# NOT RUN {
bs_doc(
body = div(h1("Hello"), p("Welcome to this page."))
)
# }

Run the code above in your browser using DataLab