custom_css | R Documentation |
Given a filename, this function will load the file name from the current working directory. If it is not found from the current working directory it will search in the package for a a matching filename and load that instead. If an id is specified, that will be prepended to all CSS selectors (TODO: make this substitution more robust). The result is returned as a string.
custom_css(filename, id = NA)
filename |
Name of the CSS file to load |
id |
CSS id to prepend to all entries |
String of possibly modified CSS file
custom_css("lancet.css", "tbl1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.