Closed yihui closed 8 years ago
The current document may have content that looks like YAML but not really YAML, e.g. a literal YAML example
```yaml --- title: "A Nice Book" knit: bookdown::render_book output: bookdown::gitbook: default ---
Currently it will be recognized as YAML but it is not. I'd suggest continue searching the parent documents for bibliography in this case.
Thanks for the pull request. It looks to me that this should do the trick without any side effects. :+1:
The current document may have content that looks like YAML but not really YAML, e.g. a literal YAML example