Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list-table and pandoc-crossref #236

Open
anghyflawn opened this issue May 28, 2022 · 0 comments
Open

list-table and pandoc-crossref #236

anghyflawn opened this issue May 28, 2022 · 0 comments

Comments

@anghyflawn
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant