Skip to content

list-table and pandoc-crossref #236

@anghyflawn

Description

@anghyflawn

Thanks to the maintainers of list-table, which is making my life a lot easier! However, as far as I can see it is not interoperable with pandoc-crossref: putting an id on the list-table div

::: {.list-table #tbl:test}
Test caption

* - a
   - b
* - c
   - d
:::

does not generate a reference, whilst putting an id at the end of the caption (as is usual for pandoc-crossref)

::: {.list-table}
Test caption {#tbl:test}

* - a
   - b
* - c
   - d
:::

does not work, because the filter just returns the whole paragraph as a Plain block (so {#tbl:test} actually gets printed as part of the caption). Unfortunately I don't understand the internals of pandoc-crossref well enough to fix the filter, but if this were possible that would be hugely helpful. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions