summaryrefslogtreecommitdiffstats
path: root/lib/template/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/template/blocks.js')
-rw-r--r--lib/template/blocks.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/template/blocks.js b/lib/template/blocks.js
index 0e04643..a079cde 100644
--- a/lib/template/blocks.js
+++ b/lib/template/blocks.js
@@ -7,5 +7,10 @@ module.exports = {
// Highlight a code block
// This block can be replaced by plugins
- code: _.identity
+ code: function(blk) {
+ return {
+ html: false,
+ body: blk.body
+ };
+ }
};