Skip to contents

Generate HTML code of corresponding flextable as an HTML table or an HTML image.

Usage

# S3 method for flextable
to_html(x, type = c("table", "img"), ...)

Arguments

x

a flextable object

type

output type. one of "table" or "img".

...

unused

Value

If type='img', the result will be a string containing HTML code of an image tag, otherwise, the result will be a string containing HTML code of a table tag.