HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Moduleskylighting-format-typst-0.1Haskell2010

Skylighting.Format.Typst

  • 3 values

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.

valuestyleToTypst :: Style -> Text
#

Converts a Style to a set of Typst macro definitions, which should be placed in the document's preamble.