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

Typst.Parse

Synopsis

Documentation

parseTypst Source #

Arguments

:: FilePath

Filepath to Typst source text, only used for error messages

-> Text

The Typst source text

-> Either ParseError [Markup] 

Parse text into a list of Markup (or a Parsec ParseError).