Formats tokens as Typst using custom commands inside
| characters. Assumes that | is defined as a short verbatim
command by the macros produced by styleToTypst.
A KeywordTok is rendered using \KeywordTok{..}, and so on.
Moduleskylighting-format-typst-0.1Haskell2010
Skylighting.Format.Typst
- 3 values
- Packageskylighting-format-typst-0.1
- Exports3
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceTypst.hs
Format tokens as a Typst Highlighting environment inside a
Skylighting block that can be styled. Skylighting is
defined by the macros produced by styleToTypst.
Converts a Style to a set of Typst macro definitions, which should be placed in the document's preamble.