Caching + Edit Mode UI

This commit is contained in:
NGPixel
2016-08-27 21:46:10 -04:00
parent 1d2893765c
commit 4be54310c4
18 changed files with 330 additions and 68 deletions

View File

@@ -29,7 +29,7 @@ var mkdown = md({
return '<pre><code>' + str + '</code></pre>';
}
}
return '<pre class="hljs"><code>' + hljs.highlightAuto(str).value + '</code></pre>';
return '<pre><code>' + str + '</code></pre>';
}
})
.use(mdEmoji)
@@ -175,6 +175,10 @@ module.exports = {
html: parseContent(content),
tree: parseTree(content)
};
}
},
parseContent,
parseMeta,
parseTree
};