m2ci-msp / gradle-pandoc-reveal-plugin

Apply common build logic to a slideshow project using Pandoc and reveal.js
Apache License 2.0
2 stars 1 forks source link

Restore smart typography #20

Closed psibre closed 7 months ago

psibre commented 4 years ago

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.