Is there a way for R-Markdown (or, more specifically, bookdown) to automatically number footnotes, like it already does for figures? I am working on a book-length project, and it would be convenient not to have to renumber all my footnotes every time I add or delete one.
When you want to automatically update the supra reference numbers, do this: Click your cursor anywhere inside the footnote fields. Hit Ctrl A. Hit F9.
In your document, click where you want to insert the note reference mark. On the Insert menu, click Footnote. Under Location, click Footnotes or Endnotes, and then on the Footnotes or Endnotes pop-up menu, click the location that you want. Under Format, select the numbering options that you want, and then click Insert.
The number is automatic, just use a different name after [^ ]
.
---
title: "Untitled"
output: html_document
---
footnote 1 [^anyname]
[^anyname]: Here is the first
footnote 2 [^anyname2]
[^anyname2]: Here is the second
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With