Create an HTML document from inline HTML
minimal_html(html, title = "")
html | HTML contents of page. |
---|---|
title | Page title (required by HTML spec). |
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>