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

Do not display links when printing #1135

Merged
merged 2 commits into from Sep 3, 2019
Merged

Do not display links when printing #1135

merged 2 commits into from Sep 3, 2019

Conversation

Bisaloo
Copy link
Contributor

@Bisaloo Bisaloo commented Sep 3, 2019

fix #1134

Tested on latest firefox and chromium.

@Bisaloo
Copy link
Contributor Author

Bisaloo commented Sep 3, 2019

@media print {
  code a[href]:after {
     content: initial;
  }
}

from https://stackoverflow.com/a/28090284 seems to work as well. Not sure which one should be preferred here.

@hadley hadley merged commit d7d8d51 into r-lib:master Sep 3, 2019
4 checks passed
@hadley
Copy link
Member

hadley commented Sep 3, 2019

Thanks!

@Bisaloo Bisaloo deleted the printcss branch Nov 28, 2019
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