Benjamin Atkin 5 years ago
parent
commit
bda6d957eb
  1. 1
      app.js

1
app.js

@ -64,6 +64,7 @@ function readMarkdown(md) {
js: blocks.html.length === 1 ? blocks.js[0].value : undefined, js: blocks.html.length === 1 ? blocks.js[0].value : undefined,
css: blocks.html.length === 1 ? blocks.css[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}) { function renderSandbox({html, css, js}) {

Loading…
Cancel
Save