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 {
124124 span . innerHTML = `${ error . message
125125 . replace ( / & / g, '&' )
126126 . 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>)`;
128131
129132 return span ;
130133 }
@@ -142,7 +145,10 @@ export class Workspace {
142145 span . innerHTML = `${ warning . message
143146 . replace ( / & / g, '&' )
144147 . 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>)`;
146152
147153 return span ;
148154 }
Original file line number Diff line number Diff line change 292292 padding : 0.2rem 0.4rem ;
293293 }
294294
295- strong {
295+ a {
296296 font : var (--sk-font-mono );
297+ color : inherit;
297298 font-size : 1em ;
298- opacity : 0.7 ;
299+ /* opacity: 0.7; */
300+ text-decoration : underline;
299301 }
300302 }
301303 }
302304 }
303-
304- & .cm-tooltip-below .cm-tooltip-section {
305- /* top: 1rem; */
306- }
307-
308- & .cm-tooltip-above .cm-tooltip-section {
309- /* bottom: 1rem; */
310- }
311305 }
312306}
You can’t perform that action at this time.
0 commit comments