benmarwick / rrtools

rrtools: Tools for Writing Reproducible Research in R
Other
671 stars 85 forks source link

[Question] References rendering in a specific position #45

Closed wolass closed 6 years ago

wolass commented 6 years ago

There might be a need to render the references before figures. Is there a way to specify the position where references should be inserted in the generated paper?

fmichonneau commented 6 years ago

You can use the chunk below in your rmarkdown document to insert the references where you want them.

## References

<div id="refs"></div>
wolass commented 6 years ago

That did it! Thanks, add to documentation and we are closing this issue! :)