Skip to content

kiwiroy/table-style-inherit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

table-style-inherit - an extension for quarto

This filter adds a custom-style attribute to the table block. In this example with the value StyleWithTableDestination.

Installing

quarto add kiwiroy/table-style-inherit

This will install the extension under the _extensions subdirectory. If you're using version control, you will want to check in this directory.

Using

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              |
:::

Example

Here is the source code for a minimal example: example.qmd.

About

pandoc filter (lua) to have tables inherit div custom-style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages