-
DescriptionHi, I have added a footnote using Am I doing something wrong? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I do think this is a limitation of how we resolve the markdown passed into If you use the inline footnote syntax this will work ---
format: html
keep-md: true
---
# Small table {.unnumbered}
```{=html}
<table>
<tr>
<th>Colonna 1</th>
<th>Colonna 2</th>
<th>Colonna 3</th>
</tr>
<tr>
<td>Riga 1, Cellula 1 <span data-qmd="lorem ^[lorem ipsum]"></span></td>
<td>Riga 1, Cellula 2</td>
<td>Riga 1, Cellula 3</td>
</tr>
<tr>
<td>Riga 2, Cellula 1</td>
<td>Riga 2, Cellula 2</td>
<td>Riga 2, Cellula 3</td>
</tr>
</table>
```
I'll open an issue in case this is something we can resolve (knowing the other markdown context to resolve the |
Beta Was this translation helpful? Give feedback.
-
Side note regarding footnotes and tables: You could consider using some Table generation tools like gt that supports adding table footnotes quite precisely - see https://gt.rstudio.com/reference/tab_footnote.html |
Beta Was this translation helpful? Give feedback.
I do think this is a limitation of how we resolve the markdown passed into
data-qmd
attributes. I don't think the footnotes you put in the QMD document outside the table is seen.If you use the inline footnote syntax this will work