Create an HTML document from inline HTML

minimal_html(html, title = "")

Arguments

html

HTML contents of page.

title

Page title (required by HTML spec).

Examples

minimal_html("<p>test</p>")
#> {html_document} #> <html> #> [1] <head>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8 ... #> [2] <body><p>test</p></body>