aboutsummaryrefslogtreecommitdiff
path: root/_plugins/noop-converter.rb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_plugins/noop-converter.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/_plugins/noop-converter.rb b/_plugins/noop-converter.rb
new file mode 100644
index 0000000..118d103
--- /dev/null
+++ b/_plugins/noop-converter.rb
@@ -0,0 +1,18 @@
+module Jekyll
+ class NoOpConverter < Converter
+ safe true
+ priority :high
+
+ def matches(ext)
+ ext == '.slides'
+ end
+
+ def output_ext(ext)
+ ".html"
+ end
+
+ def convert(content)
+ content
+ end
+ end
+end