From bda6d957eb30f077735c0054e76b060977a01980 Mon Sep 17 00:00:00 2001 From: Benjamin Atkin Date: Sat, 5 Jun 2021 20:28:12 -0600 Subject: [PATCH] wip --- app.js | 1 + 1 file changed, 1 insertion(+) 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}) {