lierdakil/pandoc-crossref

[feature-request] support for subtables

Open

#481 建立於 2025年8月11日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Haskell (1,057 star) (78 fork)batch import
discussion-neededenhancementhelp wanted

描述

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

貢獻者指南