major change to post markdown to use chunks so syntax highlighting can come in future

merge-requests/208/head
fatchan 5 years ago
parent ffb7030a22
commit 0915d7247b
  1. 1
      helpers/posting/markdown.js

@ -24,7 +24,6 @@ module.exports = {
//length of 1 means no code chunks
return module.exports.processRegularChunk(text);
}
console.log(chunks)
for (let i = 0; i < chunks.length; i++) {
//every other chunk will be a code block
if (i % 2 === 0) {

Loading…
Cancel
Save