jimhester / knitrBootstrap

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

khughitt opened this issue · comments

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.

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.