Module
lexie/generate_highlighter
src/lexie/generate_highlighter.pookaColouring in, without choosing the crayons.
Generates the optional highlighter.pooka: each token's highlight
category, the text it covers, and its span. No HTML or colours; just
the categories, for any renderer to use.
API reference
source(c: Config) -> String
INFERRED
fn(lexie/config.Config) -> StringThe source of highlighter.pooka for a specification.
category(kind: token.Kind) -> String
INFERRED
fn(lexie/token.Kind) -> StringThe highlight category of a kind of token.