jimhester / knitrBootstrap

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

Improving documentation about using package options #166

Open matteoredaelli opened 9 years ago

matteoredaelli commented 9 years ago

I'd like to set dynamically the title of the document

can you show in the README/documentation how to set package options like bootstrap.title?

thanks in advance Matteo

janeshdev commented 9 years ago

I was also trying to display the title of the document but doesn't seem to display it. I used the following as suggested by author but still doesn't display anything.

output:
  knitrBootstrap::bootstrap_document:
    title: "Test file"
    theme: amelia
    highlight: sunburst
    theme.chooser: TRUE
    highlight.chooser: TRUE
---```
KrishnaPG commented 8 years ago

Facing the same issue. The title is not getting displayed

humburg commented 8 years ago

Try setting the title at the top level. This works for me (at least with #68):

title: "Test file"
output:
  knitrBootstrap::bootstrap_document:
    theme: amelia
    highlight: sunburst

This is documented in the development version: https://github.com/jimhester/knitrBootstrap/blob/rmarkdown_template/README.md