Expand description
typst-ansi-hl highlights your Typst code using ANSI escape sequences.
let output = Highlighter::default()
.for_discord()
.with_soft_limit(2000)
.highlight("This is _Typst_ #underline[code].");Modules§
- ext
- Module with external dependencies exposed by this library.
Structs§
Enums§
- Error
- Any error returned by this library.
- Syntax
Mode - The kind of input syntax.