|
@@ -36,7 +36,7 @@ window.addEventListener("message", (e) => {
|
|
Vditor.preview(document.getElementById('preview'), e.data, {
|
|
Vditor.preview(document.getElementById('preview'), e.data, {
|
|
cdn: "${vditor.options.cdn}",
|
|
cdn: "${vditor.options.cdn}",
|
|
markdown: {
|
|
markdown: {
|
|
- theme: "${vditor.options.preview.theme}"
|
|
|
|
|
|
+ theme: ${JSON.stringify(vditor.options.preview.theme)}
|
|
},
|
|
},
|
|
hljs: {
|
|
hljs: {
|
|
style: "${vditor.options.preview.hljs.style}"
|
|
style: "${vditor.options.preview.hljs.style}"
|