typst-0.5.0.1: Parsing and evaluating typst syntax.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Typst.Evaluate

Synopsis

Documentation

evaluateTypst Source #

Arguments

:: Monad m 
=> Operations m

Dictionary of functions for IO operations

-> FilePath

Path of parsed content

-> [Markup]

Markup produced by parseTypst

-> m (Either ParseError Content) 

Evaluate a parsed typst expression, evaluating the code and replacing it with content.