We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fdf558 commit ef8a353Copy full SHA for ef8a353
docs/.vitepress/vitepress/styles/content.scss
@@ -22,6 +22,10 @@
22
.doc-content a {
23
display: inline-flex;
24
align-items: center;
25
+ &.vp-link {
26
+ white-space: nowrap;
27
+ word-break: keep-all;
28
+ }
29
.link-icon {
30
margin-left: 0.25rem;
31
height: 1em;
docs/.vitepress/vitepress/utils.ts
@@ -78,6 +78,7 @@ export function insertLinkIcon(contentRef: any) {
78
)
79
80
links.forEach((link: any) => {
81
+ link.classList.add('vp-link')
82
if (
83
!link.href.startsWith(window.origin) &&
84
!link.innerHTML.includes('<img')
0 commit comments