pandoc-slide-filter/app/Cols.hs
Stefan Dresselhaus 8376d6298b
Created library instead of binaries. Added doc.
- Split things into Library and Binary
  - Library has all functionality
  - Binarys are just wrapper like "main = toJsonFilter foo"
- Documented most things
- Created haddock-documentation
- added documentation to repository
2017-09-02 16:44:20 +02:00

10 lines
195 B
Haskell

#!/usr/bin/env runhaskell
import Text.Pandoc.JSON
import Text.Pandoc.Generic (topDown)
import Text.Pandoc.Util.Filter.Cols
main :: IO ()
main = toJSONFilter (topDown cols :: Pandoc -> Pandoc)