| Copyright | Copyright (C) 2009-2019 John MacFarlane | 
|---|---|
| License | BSD3 | 
| Maintainer | John MacFarlane <jgm@berkeley.edu> | 
| Stability | alpha | 
| Portability | portable | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Text.DocTemplates.Parser
Description
Synopsis
- compileTemplate :: (TemplateMonad m, TemplateTarget a) => FilePath -> Text -> m (Either String (Template a))
 
Documentation
compileTemplate :: (TemplateMonad m, TemplateTarget a) => FilePath -> Text -> m (Either String (Template a)) Source #
Compile a template. The FilePath parameter is used to determine a default path and extension for partials and may be left empty if partials are not used.