xwmx / pandoc-ruby

Ruby wrapper for Pandoc
MIT License
340 stars 43 forks source link

Now supports direct binary output. #6

Closed wiegand closed 11 years ago

wiegand commented 11 years ago

pandoc supports several binary output formats (i.e. odt, docx, epub, and epub3), however pandoc requires these to output to files instead of dumping the binary to standard output. From the README:

Output goes to stdout by default (though output to stdout is disabled for the odt, docx, epub, and epub3 output formats).

This pull request eliminates this restriction by outputting the binary directly to standard output for odt, docx, epub, and epub3 output formats. (It also adds the missing epub3 output format.)

Benefits:

xwmx commented 11 years ago

@wiegand Awesome!