crsh / citr

RStudio Addin to Insert Markdown Citations
Other
408 stars 46 forks source link

Search for bib files in both current and parent documents #10

Closed yihui closed 8 years ago

yihui commented 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.
crsh commented 8 years ago

Thanks for the pull request. It looks to me that this should do the trick without any side effects. :+1: