Generate the css needed by summarytools in html documents.
Arguments
- main
Logical. Include summarytools.css file.
TRUEby default. This will affects only summarytools objects, for one exception: two properties of theimgtag are redefined to havebackground-color: transparentandborder: 0.- global
Logical. Include the additional summarytools-global.css file, which affects all content in the document. Provides control over objects that were not html-rendered; in particular, table widths and vertical alignment are modified to improve layout.
FALSEby default.- bootstrap
Logical. Include bootstrap.min.css.
FALSEby default.- style.tag
Logical. Include the opening and closing
<style>tags.TRUEby default.- ...
Character. Path to additional css file(s) to include.
Value
The css file(s) content silently as a character vector, and
prints (using cat()) the content.
Details
Typically the function is called right after the initial setup chunk
of an R markdown document, in a chunk having options
echo=FALSE and results="asis".
Author
Dominic Comtois, dominic.comtois@gmail.com