htmltools (version 0.5.0)

save_html: Save an HTML object to a file

Description

Save the specified HTML object to a file, copying all of it's dependencies to the directory specified via libdir.

Usage

save_html(html, file, background = "white", libdir = "lib")

Arguments

html

HTML content to print

file

File to write content to

background

Background color for web page

libdir

Directory to copy dependenies to