This filter adds a custom-style attribute to the table block. In this example with the value StyleWithTableDestination.
quarto add kiwiroy/table-style-inheritThis will install the extension under the _extensions subdirectory.
If you're using version control, you will want to check in this directory.
Use this in the front-matter of the document
---
title: "Your document"
filters:
- table-style-inherit
---Wrap the table like this.
::: {custom-style="StyleWithTableDestination"}
| Year | Score | Title |
|------+-------+------------------------|
| 1968 | 86 | Greetings |
:::Here is the source code for a minimal example: example.qmd.