How to use the pypandoc.pandoc_download function in pypandoc

To help you get started, we’ve selected a few pypandoc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github googleapis / protoc-docs-plugin / tests / test_py_desc_converter.py View on Github external
def setUpClass(cls):
        pypandoc.pandoc_download.download_pandoc(version='1.19.2')
github googleapis / artman / test / tasks / test_descriptor.py View on Github external
def setUpClass(cls):
        pypandoc.pandoc_download.download_pandoc(version='1.19.2')
github databricks / koalas / dev / gendoc.py View on Github external
def download_pandoc():
                try:
                    pandoc_download._handle_linux = _handle_linux
                    return pandoc_download.download_pandoc(targetfolder=path, version="latest")
                finally:
                    if os.path.isfile(filename):
                        os.remove(filename)