pypandoc icon indicating copy to clipboard operation
pypandoc copied to clipboard

'--smart'/'-smart'/'+smart' argument does not work.

Open hotsoupisgood opened this issue 5 years ago • 1 comments

I'm using pandoc 2.3.1 I've tried:

--smart

and get this error:

Pandoc died with exitcode "%s" during conversion: %s' % (p.returncode, stderr)
RuntimeError: Pandoc died with exitcode "2" during conversion: b'--smart/-S has been removed.  Use +smart or -smart extension instead.\nFor example: pandoc -f markdown+smart -t markdown-smart.\nTry pandoc --help for more information.\n

I've also tried: +smart and: -smart And get this error:

Pandoc died with exitcode "%s" during conversion: %s' % (p.returncode, stderr)
RuntimeError: Pandoc died with exitcode "2" during conversion: b'Unknown option -m.\nUnknown option -a.\nTry pandoc --help for more information.\n

hotsoupisgood avatar May 11 '20 23:05 hotsoupisgood

You need to set the format like so.

markdown+smart

For more information, check out Pandocs User Manual

JessicaTegner avatar Jul 01 '21 02:07 JessicaTegner