Slab.Evaluate
evaluateFile :: FilePath -> IO (Either Error [Block]) Source #
Similar to preprocessFile but evaluate the template.
preprocessFile
evaluate :: Monad m => Env -> [Text] -> [Block] -> ExceptT Error m [Block] Source #
defaultEnv :: Env Source #
simplify :: [Block] -> [Block] Source #