jimhester / knitrBootstrap

A framework to create bootstrap styled HTML reports from knitr Rmarkdown.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improving documentation about using package options

matteoredaelli opened this issue · comments

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

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
---```

Facing the same issue. The title is not getting displayed

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