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

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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.