diff --git a/app.js b/app.js index 4c71ea3..6ca4cc6 100644 --- a/app.js +++ b/app.js @@ -64,6 +64,7 @@ function readMarkdown(md) { js: blocks.html.length === 1 ? blocks.js[0].value : undefined, css: blocks.html.length === 1 ? blocks.css[0].value : undefined, } + if (code.html || code.js || code.css) return code } function renderSandbox({html, css, js}) {