- css如下
- 只是单纯的去除了下划线。
a {
text-decoration: none !important;
}
- 可以去除内部/外部链接的下划线,看起来可能会更加舒服。
a {
text-decoration: none !important;
}
导出pdf时,去除下划线和链接,预览时格式
/* 去除链接下划线和颜色 /
.cm-hmd-internal-link, .external-link {
text-decoration: none !important;
color: var(–text-normal) !important; / 强制使用正文颜色(黑色) /
}
/ 去除PDF导出时的链接下划线 */
@media print {
a {
color: black !important;
text-decoration: none !important;
}
}