Pandoc does not enable smart typography by default. Older versions use the --smart command line argument, but this was removed in newer versions.
However, many Linux systems (especially those running Ubuntu LTS releases) are still stuck with Pandoc v1.16 (16.04) or v1.19 (18.04).
5 worked around this problem by removing this altogether from the pandoc incantation.
It would be better to detect the Pandoc version, and add the corresponding syntax, restoring the smart typography feature.
Pandoc does not enable smart typography by default. Older versions use the
--smart
command line argument, but this was removed in newer versions. However, many Linux systems (especially those running Ubuntu LTS releases) are still stuck with Pandoc v1.16 (16.04) or v1.19 (18.04).5 worked around this problem by removing this altogether from the
pandoc
incantation.It would be better to detect the Pandoc version, and add the corresponding syntax, restoring the smart typography feature.