There was an error while loading. Please reload this page.
1 parent 169bacf commit d198119Copy full SHA for d198119
1 file changed
assets/nav.js
@@ -93,7 +93,7 @@
93
}
94
95
// CodeMirror syntax highlighting on reference/example pages
96
- if (document.querySelector('.syntax-block, .impl-block') &&
+ if (document.querySelector('.syntax-block, .impl-block, pre#code-pre') &&
97
!document.getElementById('ref-cm-loaded')) {
98
const CDNJS = 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.16';
99
// Preload hints for faster script loading
0 commit comments