Skip to content

Display gt tables on function reference pages #513

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

Merged
merged 1 commit into from
Mar 28, 2025
Merged

Conversation

nanxstats
Copy link
Collaborator

This PR is a follow up to #502 and #338, to remove the @examplesIf condition for examples sections containing gt outputs.

gt tables can now be properly displayed on function reference pages directly in pkgdown >= 2.1.0, instead of being rendered as thousands lines of raw HTML (r-lib/pkgdown#2326).

Copy link
Collaborator

@LittleBeannie LittleBeannie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @nanxstats!

@LittleBeannie LittleBeannie merged commit ea18c5c into main Mar 28, 2025
7 checks passed
@LittleBeannie LittleBeannie deleted the pkgdown-gt branch March 28, 2025 15:30
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.

2 participants