alphabetum/pandoc-ruby — pull request #6 by wiegand (2013-05-15 17:39:27+00:00)
Title: Now supports direct binary output.

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](http://johnmacfarlane.net/pandoc/README.html):

> 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:

- binary support!
- the API now works consistently across all output formats
- much easier in cases where you want to dynamically serve some exported data in a variety of formats to a users of your web application, i.e. no more fiddling with files