update_css: Update the CSS from GDoc HTML

Description Usage Arguments Value See Also

Description

A wrapper to: extract the CSS from a Google Docs HTML export; remove the \@import GDocs contain; wrap the extracted (inline) CSS; and add style revisions

Usage

1
update_css(txt, no_import = TRUE, wrap_css = TRUE, add_style = TRUE)

Arguments

txt

An HTML <head> character vector

no_import

Remove the google \@import statement from CSS? (TRUE)

wrap_css

Wrap CSS for pretty-printing? (TRUE)

add_style

Add new styles with add_styles? (TRUE)

Value

CSS character string

See Also

update_css


jacob-ogre/gdoc2rmd documentation built on May 18, 2019, 8:01 a.m.