This is calling pandoc --version to retrieve the version of Pandoc used. A
special treatment is done for nightly version as Pandoc project does not
use a development version scheme between released versions. This function
will add a .9999 suffix to the version reported by Pandoc.
Value
The version number for pandoc binary as a base::numeric_version() object.