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

Disable random div id generation? #141

Closed
andrewheiss opened this issue Jan 22, 2019 · 1 comment · Fixed by #286
Closed

Disable random div id generation? #141

andrewheiss opened this issue Jan 22, 2019 · 1 comment · Fixed by #286

Comments

@andrewheiss
Copy link

Right now, print.R generates a random name for the wrapping div for gt tables (e.g. <div id="joisdfjkdf">). This is nice for uniqueness in HTML, but it causes issues with version control, since the table ID changes often (forcing new changes in git).

Right now, my solution is to use set.seed() before any gt() stuff, and that's working, but it might be nice to have an argument to gt() or something that disables the random id generation and allows users to supply their own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants