summaryrefslogtreecommitdiffstats
path: root/test/plugins/resources
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugins/resources')
-rw-r--r--test/plugins/resources/index.js12
-rw-r--r--test/plugins/resources/package.json9
2 files changed, 21 insertions, 0 deletions
diff --git a/test/plugins/resources/index.js b/test/plugins/resources/index.js
new file mode 100644
index 0000000..bafa54b
--- /dev/null
+++ b/test/plugins/resources/index.js
@@ -0,0 +1,12 @@
+module.exports = {
+ website: {
+ js: [
+ "https://cdn.mathjax.org/mathjax/2.4-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
+ ]
+ },
+ ebook: {
+ css: [
+ "test"
+ ]
+ }
+};
diff --git a/test/plugins/resources/package.json b/test/plugins/resources/package.json
new file mode 100644
index 0000000..ab4320d
--- /dev/null
+++ b/test/plugins/resources/package.json
@@ -0,0 +1,9 @@
+{
+ "name": "gitbook-plugin-resources",
+ "description": "Test resources plugin",
+ "main": "index.js",
+ "version": "0.0.1",
+ "engines": {
+ "gitbook": "*"
+ }
+} \ No newline at end of file