summaryrefslogtreecommitdiffstats
path: root/lib/output/base.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-02-12 21:59:49 +0100
committerSamy Pesse <samypesse@gmail.com>2016-02-12 21:59:49 +0100
commit39b6562d1445e9a6c43a377d2a978eefa6458755 (patch)
tree77d530bca613c44e8c8fee8e6944d538d44f3ca7 /lib/output/base.js
parent0d966fe19738089607de3927694ac5f2bd41f03f (diff)
downloadgitbook-39b6562d1445e9a6c43a377d2a978eefa6458755.zip
gitbook-39b6562d1445e9a6c43a377d2a978eefa6458755.tar.gz
gitbook-39b6562d1445e9a6c43a377d2a978eefa6458755.tar.bz2
Add pipeline to outline svg as png
Diffstat (limited to 'lib/output/base.js')
-rw-r--r--lib/output/base.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/output/base.js b/lib/output/base.js
index 39e46c2..d301b14 100644
--- a/lib/output/base.js
+++ b/lib/output/base.js
@@ -100,6 +100,11 @@ Output.prototype.onRelativeLink = function(currentPage, href) {
return href;
};
+// Output a SVG as a file
+Output.prototype.onOutputSVG = function(page, svg) {
+ return null;
+};
+
// Finish the generation
Output.prototype.finish = function() {