File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -295,23 +295,23 @@ function createPlugin() {
295
295
`</code>` ,
296
296
`</pre>`
297
297
] . join ( '' ) ;
298
-
299
- const themeNames = Object . keys ( stylesheets ) ;
300
- if ( themeNames . length ) {
301
- markdownAST . children . push ( {
302
- type : 'html' ,
303
- value : [
304
- '<style class="vscode-highlight-styles">' ,
305
- injectStyles ? styles : '' ,
306
- themeNames . map ( theme => stylesheets [ theme ] ) . join ( '\n' ) ,
307
- '</style>'
308
- ] . join ( '' )
309
- } ) ;
310
- }
311
298
} finally {
312
299
unlockRegistry ( ) ;
313
300
}
314
301
}
302
+
303
+ const themeNames = Object . keys ( stylesheets ) ;
304
+ if ( themeNames . length ) {
305
+ markdownAST . children . push ( {
306
+ type : 'html' ,
307
+ value : [
308
+ '<style class="vscode-highlight-styles">' ,
309
+ injectStyles ? styles : '' ,
310
+ themeNames . map ( theme => stylesheets [ theme ] ) . join ( '\n' ) ,
311
+ '</style>'
312
+ ] . join ( '' )
313
+ } ) ;
314
+ }
315
315
}
316
316
return textmateHighlight ;
317
317
}
You can’t perform that action at this time.
0 commit comments