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

Render gt tables #2493

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Render gt tables #2493

merged 2 commits into from
Apr 29, 2024

Conversation

hadley
Copy link
Member

@hadley hadley commented Apr 23, 2024

Fixes #2326

@hadley
Copy link
Member Author

hadley commented Apr 28, 2024

@rich-iannone would you mind taking a look at this? It looks like you're already using custom examples in gt, but I'd appreciate you taking a quick look at my styling adjustments.

@rich-iannone
Copy link
Contributor

I checked out this branch and tried some examples with a few tables of varying size/content. Some screenshots from a local build of a pkgdown site are attached. Narrow tables, interactive tables (with SVGs), and wide tables all look nicely laid out and they behave correctly. I couldn't find any display issues with this in my testing, everything looks good here!

pkgdown-gt-01 pkgdown-gt-02 pkgdown-gt-03

@hadley
Copy link
Member Author

hadley commented Apr 29, 2024

Thanks @rich-iannone!

@hadley hadley merged commit 84db6a2 into main Apr 29, 2024
12 checks passed
@hadley hadley deleted the gt branch April 29, 2024 19:12
SebKrantz pushed a commit to SebKrantz/pkgdown that referenced this pull request Jun 1, 2024
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.

Feature Request: Display {gt} tables in the Examples section
2 participants