diff options
Diffstat (limited to 'lib/templating/blocks.js')
-rw-r--r-- | lib/templating/blocks.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/templating/blocks.js b/lib/templating/blocks.js new file mode 100644 index 0000000..92097a7 --- /dev/null +++ b/lib/templating/blocks.js @@ -0,0 +1,11 @@ +var _ = require('lodash'); + +module.exports = { + // Return non-parsed html + // since blocks are by default non-parsable, a simple identity method works fine + html: _.identity, + + // Highlight a code block + // This block can be extent by plugins + code: _.identity +}; |