Skip to content

Footnotes in tables #461

Answered by markdumay
myrthos asked this question in Help
Discussion options

You must be logged in to vote

It's seemingly a limitation of Hugo. Unfortunately, no render hook is available to address this.

What you could consider is to include the footnote(s) within the table shortcode itself. The footnote will be rendered directly below the table instead of the bottom of the page though. It also does not respect (the numbering of) any other footnotes on the same page.

{{< table "table-striped" >}}
| #  | Item        | Left aligned | Center aligned |   Right aligned|
| -- | ----------- |:-------------|:--------------:| --------------:|
| 1. | First item  | some text[^2]| more text      | even more text |
| 2. | Second item | some text    | more text      | even more text |
| 3. | Third item  | s…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by myrthos
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants