diff options
author | Samy Pesse <samypesse@gmail.com> | 2015-09-12 18:21:35 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2015-09-12 18:21:35 +0200 |
commit | 82a6ee3875bca2b068d76ccc894c4313d1006b77 (patch) | |
tree | 0ad9e753629774333ec163f21234fc770c10a541 /test/plugins/highlight/index.js | |
parent | 3bf592f870eb24d1b4753fa538bad2cbfaa98a24 (diff) | |
download | gitbook-82a6ee3875bca2b068d76ccc894c4313d1006b77.zip gitbook-82a6ee3875bca2b068d76ccc894c4313d1006b77.tar.gz gitbook-82a6ee3875bca2b068d76ccc894c4313d1006b77.tar.bz2 |
Add test for replacing highlighting
Diffstat (limited to 'test/plugins/highlight/index.js')
-rw-r--r-- | test/plugins/highlight/index.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/plugins/highlight/index.js b/test/plugins/highlight/index.js new file mode 100644 index 0000000..01202f2 --- /dev/null +++ b/test/plugins/highlight/index.js @@ -0,0 +1,9 @@ +module.exports = { + blocks: { + "code": { + process: function(blk) { + return "code_"+blk.body+"_code"; + } + } + } +};
\ No newline at end of file |