minimal_html: Create an HTML document from inline HTML

Description Usage Arguments Examples

View source: R/utils.R

Description

Create an HTML document from inline HTML

Usage

1
minimal_html(html, title = "")

Arguments

html

HTML contents of page.

title

Page title (required by HTML spec).

Examples

1
minimal_html("<p>test</p>")

Example output

Loading required package: xml2
{html_document}
<html>
[1] <head>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8 ...

rvest documentation built on Oct. 17, 2021, 1:07 a.m.