jimhester / knitrBootstrap

A framework to create bootstrap styled HTML reports from knitr Rmarkdown.
Other
274 stars 61 forks source link

custom css #197

Closed frenkiboy closed 5 years ago

frenkiboy commented 5 years ago

Is it possible to import a custom css file for header formatting?

knitrBootstrap::bootstrap_document:
    css: header.css

gives the following error:

Error in (function (title = NULL, theme = "default", highlight = "highlightjs",  : 
  unused argument (css = "header.css")
Calls: <Anonymous> -> create_output_format -> do.call
Execution halted
jimhester commented 5 years ago

You can use the custom.header option to provide any extra header logic like script or css includes.

But I would actually recommend you use rmarkdown::html_document(), which is more actively maintained.