File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,10 @@ export class Workspace {
124
124
span . innerHTML = `${ error . message
125
125
. replace ( / & / g, '&' )
126
126
. replace ( / < / g, '<' )
127
- . replace ( / ` ( .+ ?) ` / g, `<code>$1</code>` ) } <strong>(${ error . code } )</strong>`;
127
+ . replace (
128
+ / ` ( .+ ?) ` / g,
129
+ `<code>$1</code>`
130
+ ) } (<a href="/docs/svelte/compiler-errors#${ error . code } ">${ error . code } </a>)`;
128
131
129
132
return span ;
130
133
}
@@ -142,7 +145,10 @@ export class Workspace {
142
145
span . innerHTML = `${ warning . message
143
146
. replace ( / & / g, '&' )
144
147
. replace ( / < / g, '<' )
145
- . replace ( / ` ( .+ ?) ` / g, `<code>$1</code>` ) } <strong>(${ warning . code } )</strong>`;
148
+ . replace (
149
+ / ` ( .+ ?) ` / g,
150
+ `<code>$1</code>`
151
+ ) } (<a href="/docs/svelte/compiler-warnings#${ warning . code } ">${ warning . code } </a>)`;
146
152
147
153
return span ;
148
154
}
Original file line number Diff line number Diff line change 292
292
padding : 0.2rem 0.4rem ;
293
293
}
294
294
295
- strong {
295
+ a {
296
296
font : var (--sk-font-mono );
297
+ color : inherit;
297
298
font-size : 1em ;
298
- opacity : 0.7 ;
299
+ /* opacity: 0.7; */
300
+ text-decoration : underline;
299
301
}
300
302
}
301
303
}
302
304
}
303
-
304
- & .cm-tooltip-below .cm-tooltip-section {
305
- /* top: 1rem; */
306
- }
307
-
308
- & .cm-tooltip-above .cm-tooltip-section {
309
- /* bottom: 1rem; */
310
- }
311
305
}
312
306
}
You can’t perform that action at this time.
0 commit comments