A Haskell library that enables you to integrate document conversion capabilities into your software, supporting numerous formats including HTML, RTF, ODT and others
What's new in Pandoc 2.15:Add --sandbox option (#5045): Add sandbox feature. When this option is used, readers and writers only have access to input files (and other files specified directly on command line). This restriction is enforced in the type system. Filters, PDF production, custom writers are unaffected. This feature only insulates the actual readers and writers, not the pipeline around them in Text.Pandoc.App. Note that when --sandboxed is specified, readers won’t have access to the resource path, nor will anything have access to the user data directory.
Pandoc is a comprehensive Haskell library which enables you to convert various markup formats between one another, supporting a wide array of source and output file types, including HTML, DocBook, LaTex, markdown, OPML, EPUB, DOCX, textile, MediaWiki and others.
By working with numerous markdown syntax extensions, which includes metadata, footnotes, strikeout, tables, definitions lists, running example lists, dashes, smart quotes, ellipses, Pandoc makes it possible to turn files from one format to another without too much effort.
Moreover, the library supports working with LaTex math as well as macros in markdown files; it features a wide range of mathematical rendering in HTML, while for DOCX format files, it resort to native Word equations.
Pandoc is even capable of handling quotes and references thanks to the pandoc-citeproc component, translating formatted citations to its proper form, at the end of a document. Among the supported bibliography database forms, noteworthy are bibtex, RIS, ISI, MODS and JSON.
The tool comes both with a library and a command line utility. This makes it mainly addressed at advanced individuals, who can handle working in CMD environment, without a graphic user interface. At the same time, the more advanced Windows PowerShell can be used. However, it comes with step by step instructions on how inexperienced individuals can use it.
As such, users can learn how to employ Pandoc as a filter, discover the text editor basics, convert a file (which are the most basic of features), but they can also learn the various command-line options, from the provided guide. Alternately, they can type the ‘-help’ command, for instance, in a PowerShell window and obtain a full list of functions.