lierdakil/pandoc-crossref

[feature-request] support for subtables

Open

#481 opened on Aug 11, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Haskell (1,057 stars) (78 forks)batch import
discussion-neededenhancementhelp wanted

Description

hi, I would love to have subtables for pandoc the same syntax as subfigures. Would this be in scope?

Some example subtables syntax:

<div class="subtables" data-caption="Main table caption here">
  
  <table data-caption="Subtable 1 caption">
    <thead>
      <tr>
        <th>Column A</th>
        <th>Column B</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>Value 1</td>
        <td>Value 2</td>
      </tr>
    </tbody>
  </table>

  <table data-caption="Subtable 2 caption">
    <thead>
      <tr>
        <th>Column X</th>
        <th>Column Y</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>Value 3</td>
        <td>Value 4</td>
      </tr>
    </tbody>
  </table>

</div>

thanks and best regards Dominik

Contributor guide