We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373d7fa commit b3f8f7bCopy full SHA for b3f8f7b
src/utils/add-style.ts
@@ -1,7 +1,7 @@
1
// Inserts the style element into the page for
2
// the default style of the code-block element.
3
const style = document.createElement('style');
4
-const link = document.querySelector('head link');
+const link = document.querySelector('head link, head style');
5
6
style.textContent = `
7
code-block {
0 commit comments