html_document function

Convert to an HTML document