Skip to content

Commit

Permalink
Merge pull request #1412 from quarto-dev/sync-1411-to-prerelease
Browse files Browse the repository at this point in the history
[Sync to prerelease] Add callout for unique footnote IDs
  • Loading branch information
cwickham authored Oct 23, 2024
2 parents e72cb5e + e2166c4 commit 096f890
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/authoring/markdown-basics.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,16 @@ This syntax generates the following output:
Here is an inline note.[^3]
:::

::: {.callout-note}

## Footnote IDs should be unique

Footnote identifiers, e.g., the `1` in `^1`, need to be unique within a document.
In Quarto books, chapters are combined into a single document for certain formats (including PDF, DOCX, and EPUB),
so footnote identifiers need to be unique **across** chapters.

:::

The footnotes that are generated from the above examples are included in the [Example Footnotes](#example-footnotes) section at the bottom of the page. See the [Pandoc Footnotes](https://pandoc.org/MANUAL.html#footnotes) for additional information.

[^1]: Here is the footnote.
Expand Down

0 comments on commit 096f890

Please sign in to comment.