Copyright | (c) 2012-2013 Brent Yorgey |
---|---|
License | GPL (see LICENSE) |
Maintainer | Brent Yorgey <byorgey@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Functions for creating BlogLiterately
executables. By default,
installing this library results in the installation of a standard
executable, called BlogLiterately
, which corresponds to
blogLiterately
from this module. However, you can create your
own custom executables with extra custom functionality using
blogLiteratelyWith
or blogLiteratelyCustom
. For example:
module Main where import Text.BlogLiterately myCustomXF1 = pureTransform ... myCustomXF2 = Transform ... main = blogLiteratelyWith [myCustomXF1, myCustomXF2]
See Text.BlogLiterately.Transform for examples of transforms, additional transforms which are not enabled by default, and help in creating your own.
- blogLiterately :: IO ()
- blogLiteratelyWith :: [Transform] -> IO ()
- blogLiteratelyCustom :: [Transform] -> IO ()
Documentation
blogLiterately :: IO () Source #
The default BlogLiterately application.
blogLiteratelyWith :: [Transform] -> IO () Source #
Like blogLiterately
, but with the ability to specify additional
Transform
s which will be applied after the standard ones.
blogLiteratelyCustom :: [Transform] -> IO () Source #
Like blogLiterately
, but with the ability to replace the
standard Transform
s. Use this to implement custom interleaving
orders of the standard transforms and your own, to exclude some
or all of the standard transforms, etc.