joostkremers / pandoc-mode

An Emacs minor mode for interacting with Pandoc.
https://joostkremers.github.io/pandoc-mode/
177 stars 14 forks source link

Pandoc: --no-wrap is deprecated. Use --wrap=none or --wrap=preserve instead. #62

Open raamdev opened 8 years ago

raamdev commented 8 years ago

When I C-c / and go into Options (o) → General writer options (w) and change No Wrap (W) to yes, subsequent conversions put the following line at the top of the *Pandoc output* buffer:

pandoc: --no-wrap is deprecated. Use --wrap=none or --wrap=preserve instead.

I'm using pandoc 1.17.0.3, pandoc-mode 20160405.2349, and GNU Emacs 24.5.1.

joostkremers commented 8 years ago

Thanks for pointing that out. I'll add an option --wrap (but keep --no-wrap for the time being, since people may be on older versions of Pandoc).