Benjamin Atkin 5 years ago
parent
commit
96471d4de4
  1. 6
      app.js

6
app.js

@ -60,9 +60,9 @@ function readMarkdown(md) {
css: codeBlocks.filter((block) => block.lang === "css"),
}
const code = {
html: blocks.html.length === 1 ? blocks.html[0].value,
js: blocks.html.length === 1 ? blocks.js[0].value,
css: blocks.html.length === 1 ? blocks.css[0].value,
html: blocks.html.length === 1 ? blocks.html[0].value : undefined,
js: blocks.html.length === 1 ? blocks.js[0].value : undefined,
css: blocks.html.length === 1 ? blocks.css[0].value : undefined,
}
}

Loading…
Cancel
Save