summaryrefslogtreecommitdiffstats
path: root/test/plugins/highlight
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugins/highlight')
-rw-r--r--test/plugins/highlight/index.js9
-rw-r--r--test/plugins/highlight/package.json9
2 files changed, 18 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
diff --git a/test/plugins/highlight/package.json b/test/plugins/highlight/package.json
new file mode 100644
index 0000000..6b69488
--- /dev/null
+++ b/test/plugins/highlight/package.json
@@ -0,0 +1,9 @@
+{
+ "name": "gitbook-plugin-highlight",
+ "description": "Highlight coe blocks",
+ "main": "index.js",
+ "version": "0.0.1",
+ "engines": {
+ "gitbook": "*"
+ }
+} \ No newline at end of file