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 7387981 commit a09b807Copy full SHA for a09b807
live-view/live-view.js
@@ -1196,12 +1196,17 @@ async function renderLiveViewMarkdown(file) {
1196
1197
await loadScript(window.location.origin + '/lib/prism.js', frameDoc.body);
1198
1199
+
1200
let s = document.createElement('script');
1201
1202
s.appendChild(document.createTextNode(`Prism.plugins.autoloader.languages_path = 'https://cdnjs.cloudflare.com/ajax/libs/prism/1.28.0/components/'`));
1203
1204
+ frameDoc.body.appendChild(s);
1205
1206
onNextFrame(() => {
1207
frameDoc.body.removeChild(s);
1208
});
- frameDoc.body.appendChild(s);
1209
1210
1211
await loadScript(window.location.origin + '/lib/codeit.js', frameDoc.body);
1212
0 commit comments