Skip to content

ErunamoJAZZ/pypandoc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypandoc

pypandoc provides a thin wrapper for pandoc, a universal document converter. Use it as follows:

import pypandoc

output = pypandoc.convert('somefile.md', 'rst')

# alternatively you could just pass some string to it and define its format
output = pypandoc.convert('#some title', 'rst', format='md')

The code infers pandoc --from format automatically based on given file extension unless one is provided explicitly. extra_args parameter makes it possible to access various pandoc options. Please refer to pandoc -h and the official documentation for further details.

See also pyandoc.

Contributors

License

pypandoc is available under MIT license. See LICENSE for more details.

About

Thin wrapper for "pandoc" (MIT)

Resources

License

Stars

Watchers

Forks

Packages

No packages published