typst-0.6.1: Parsing and evaluating typst syntax.
Safe HaskellNone
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).