Feature for testing the presence of pandoc - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# Feature for testing the presence of `pandoc`

class sage.features.pandoc.Pandoc(*args, **kwds)

  Bases: `Executable`

  A `Feature` describing the presence of pandoc.

  EXAMPLES:

  Sage

      sage: from sage.features.pandoc import Pandoc
      sage: Pandoc().is_present()  # optional - pandoc
      FeatureTestResult('pandoc', True)

  Python

      >>> from sage.all import *
      >>> from sage.features.pandoc import Pandoc
      >>> Pandoc().is_present()  # optional - pandoc
      FeatureTestResult('pandoc', True)

sage.features.pandoc.all_features()