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

Fix for gt_group objects printing through knitr/Quarto #1332

Merged
merged 4 commits into from May 26, 2023

Conversation

rich-iannone
Copy link
Member

This PR provides a working implementation of printing for a gt_group object (created via gt_split()). This wasn't working in Quarto because the knit_print method was incomplete/untested (though the print method was fine). The fix here borrows from the print method; the extra <br /> was removed because it seems to provide too much space (and there should be a future option for the table separator anyway).

The issue of having a duplicate ID values (if a fixed value was given to the pre-split table) still persists. This will be solved in a later PR that should better handle table option values.

Fixes: #1286

@rich-iannone rich-iannone merged commit 71d2a13 into master May 26, 2023
9 checks passed
@rich-iannone rich-iannone deleted the gt-split-print-fix branch May 26, 2023 00:10
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

Successfully merging this pull request may close these issues.

gt_split() cannot be rendered in documents
1 participant