aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-02-06Fix importJohn MacFarlane1-1/+1
2017-02-06Changed year on copyright message.John MacFarlane1-1/+1
2017-02-06Consolidated file arguments into Opt.John MacFarlane1-4/+7
2017-02-06Further refactoring of App.John MacFarlane1-8/+724
Moved option parsing code into App. pandoc.hs is now a 2-liner.
2017-02-05Fix an unneeded import warning.John MacFarlane1-1/+1
2017-02-05Split pandoc.hs into a module, Text.Pandoc.App, and a small program.John MacFarlane1-0/+720
The App module provides a function that does a pandoc conversion, based on option settings. The program (pandoc.hs) now does nothing more than parse options and pass them to this function, which can easily be used by other applications (e.g. a GUI wrapper). The Opt structure has been further simplified. API changes: * New exposed module Text.Pandoc.App * Text.Pandoc.Highlighting has been exposed. * highlightingStyles has been moved to Text.Pandoc.Highlighting.