diff options
Diffstat (limited to 'test/plugins/highlight/index.js')
-rw-r--r-- | test/plugins/highlight/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/plugins/highlight/index.js b/test/plugins/highlight/index.js index 01202f2..25f9642 100644 --- a/test/plugins/highlight/index.js +++ b/test/plugins/highlight/index.js @@ -2,7 +2,9 @@ module.exports = { blocks: { "code": { process: function(blk) { - return "code_"+blk.body+"_code"; + var lang = blk.kwargs.language || 'code'; + + return lang+"_"+blk.body+"_"+lang; } } } |