lib/mdoc/convert.rb in mdoc-0.0.2 vs lib/mdoc/convert.rb in mdoc-0.0.3

- old
+ new

@@ -47,9 +47,17 @@ class Docx < Pandoc def convert; self._convert('docx') end end + class Epub < Pandoc + def convert; self._convert('epub') end + end + + class Odt < Pandoc + def convert; self._convert('odt') end + end + class Pdf < Pandoc def convert self._convert('tex') basename = @file.gsub(/\.md$/, '') File.rename(basename + ".tex", basename + '__.tex')