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

Typst.Evaluate

Synopsis

Documentation

evaluateTypst Source #

Arguments

:: Monad m 
=> (FilePath -> m ByteString)

Function to read a file

-> FilePath

Path of parsed content

-> [Markup]

Markup produced by parseTypst

-> m (Either ParseError (Seq Content)) 

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