jimhester / knitrBootstrap

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

Title not parsed when set in knitrBootstrap::bootstrap_document: scope #65

Open khughitt opened 9 years ago

khughitt commented 9 years ago

It may just be that the README.md needs to be updated, but as it is, the title will not be parsed properly.

It does work, however (as @jjalaire kindly pointed out), when the title is specified in the top-level of the YAML block.

jimhester commented 9 years ago

If I remember correctly I was not using the rmarkdown template originally so having the title in the top level YAML would not work. As a workaround I had code which inserted the title from the bootstrap_document option as noted in the README. However I have since switched to using a modified html template and removed the option, so the README is out of date.

I am planning a large update of knitrBootstrap, so I will fix this issue soon.

@jjalaire is correct in the correct fix as well.