How to add footnotes for the markdown table

Are you looking for a caption ?
https://pandoc.org/MANUAL.html#extension-pipe_tables

| Tables        | Are           | Cool  |
| ------------- |:-------------:| -----:|
| col 3 is      | right-aligned | $1600 |
| col 2 is      | centered      |   $12 |
| zebra stripes | are neat      |    $1 |

  : About the table

But Pandoc will put that above I think. See Pandoc Manual for supported Markdown syntax
https://pandoc.org/MANUAL.html#tables

Otherwise, you can use R packages to format table to your liking. Some of them have footnote for table support

With those tools, you can format your table as you wish !

2 Likes