Skip to content
Discussion options

You must be logged in to vote

Your code has captions in multiple places, eg <caption>As described in the section above, Quarto tables are great.</caption> and : Second Table, and that's confusing Quarto.

Try using the div syntax for floats instead:

---
title: hello
---

::: {#tbl-panel layout-ncol=2}

::: {#tbl-first}

```{=html}
<table>
  <thead>
    <tr>
      <th>Header 1</th>
      <th>Header 2</th>
    </tr>
  </thead>
  <tbody>
    <tr>
    <td><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/37/African_Bush_Elephant.jpg/220px-African_Bush_Elephant.jpg" alt="African Bush Elephant" /></td>
      <td>Elephant</td>
    </tr>
  </tbody>
</table>
```

First Table

:::

::: {#tbl-second}

```{=html}
<t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maia-sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
tables Issues with Tables including the gt integration
2 participants