hackmdio/codimd
Voir sur GitHubRemove URLs next to links when export to PDF using browser built-in print
Open
#535 ouverte le 27 août 2017
Hacktoberfestdocsenhancementimport/exportminor
Métriques du dépôt
- Stars
- (8 949 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
When I export a note to PDF by Chrome built-in print, the URL will show next to the link,
like this

The link is still available after export to PDF, so it seems we can remove the URL after the link? And this can be done by adding CSS rule.
@media print {
a[href]::after {
content: none !important;
}
}