diff options
Diffstat (limited to 'test/plugins')
-rw-r--r-- | test/plugins/blocks/index.js | 22 | ||||
-rw-r--r-- | test/plugins/filters/index.js | 2 | ||||
-rw-r--r-- | test/plugins/resources/index.js | 8 |
3 files changed, 16 insertions, 16 deletions
diff --git a/test/plugins/blocks/index.js b/test/plugins/blocks/index.js index 0a02ff7..32f1910 100644 --- a/test/plugins/blocks/index.js +++ b/test/plugins/blocks/index.js @@ -2,22 +2,22 @@ var assert = require("assert"); module.exports = { blocks: { - "test": { + "test": { shortcuts: { parsers: ["markdown"], start: "$$", end: "$$" }, - process: function(blk) { - return "test"+blk.body+"test"; - } - }, - "test2": { - end: "endtest2end", - process: function(blk) { - return "test2"+blk.body+"test2"; - } - }, + process: function(blk) { + return "test"+blk.body+"test"; + } + }, + "test2": { + end: "endtest2end", + process: function(blk) { + return "test2"+blk.body+"test2"; + } + }, "test3join": { blocks: [ "also" diff --git a/test/plugins/filters/index.js b/test/plugins/filters/index.js index 0e2f1a2..2cf53b1 100644 --- a/test/plugins/filters/index.js +++ b/test/plugins/filters/index.js @@ -4,7 +4,7 @@ module.exports = { return "Hello "+text; }, helloCtx: function(text) { - return text+":"+this.book.root; + return text+":"+this.book.root; } } };
\ No newline at end of file diff --git a/test/plugins/resources/index.js b/test/plugins/resources/index.js index d98d6f0..bafa54b 100644 --- a/test/plugins/resources/index.js +++ b/test/plugins/resources/index.js @@ -1,12 +1,12 @@ module.exports = { - website: { + website: { js: [ "https://cdn.mathjax.org/mathjax/2.4-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" ] }, ebook: { - css: [ - "test" - ] + css: [ + "test" + ] } }; |