multidoc-rules-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Text.MultidocRules

Synopsis

Documentation

makeRules

Arguments

:: Options

Options for customization

-> FilePath

Input directory containing *.md files

-> FilePath

Output directory

-> (Rules (), [String])

Resulting Shake rules and list of output files

data BibDir

Directory with bibliography files

Constructors

Input FilePath

Filepath relative to input directory

Wdir FilePath

Absolute filepath or filepath relative to working directory

data Options

Constructors

Options 

Fields

mb_template :: Maybe (Html -> Html -> Html)

Custom template

mb_css :: Maybe String

Custom multidoc-specific CSS file

bibDir :: BibDir

Directory with bibliography files

tmpDir :: Maybe String

Custom location for temporary files

mb_name :: Maybe String

Custom filename for output document

pd_tempDir :: FilePath

Directory with Pandoc templates

md_dataDir :: FilePath

Directory with Multidoc data files

Instances