oli-obk / rust-pandoc

Apache License 2.0
51 stars 29 forks source link

Add functions to allow input and output via stdin/stdout #5

Closed humenda closed 7 years ago

humenda commented 7 years ago

The builder currently lacks functions to supply a string (via stdin) to Pandoc and read the result into a string (via stdout). It would be great, if this functionality could be added, since the Pandoc executable supports this and it would enable conversions on-the-fly.

Thanks

chriskrycho commented 7 years ago

@humenda note that I've created a PR to do this for the output side here, and expect to follow that up for the input side (probably next weekend). I'd welcome your thoughts on that interface.

humenda commented 7 years ago

This works like a charm, just tested in a sample project. The code looks fine to me too. I would like to see this merged.

oli-obk commented 7 years ago

has been merged. Keeping this issue open for the input-part.