summaryrefslogtreecommitdiffstats
path: root/test/plugins/replace_highlight/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugins/replace_highlight/index.js')
-rw-r--r--test/plugins/replace_highlight/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/plugins/replace_highlight/index.js b/test/plugins/replace_highlight/index.js
new file mode 100644
index 0000000..25f9642
--- /dev/null
+++ b/test/plugins/replace_highlight/index.js
@@ -0,0 +1,11 @@
+module.exports = {
+ blocks: {
+ "code": {
+ process: function(blk) {
+ var lang = blk.kwargs.language || 'code';
+
+ return lang+"_"+blk.body+"_"+lang;
+ }
+ }
+ }
+}; \ No newline at end of file