Todd Hufnagel
Todd Hufnagel

Reputation: 71

Automatic number of footnotes?

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.

Upvotes: 7

Views: 1523

Answers (1)

RLave
RLave

Reputation: 8364

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 

enter image description here

Upvotes: 9

Related Questions