| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Token.Skylighting
Description
Skylighting code tokenizer
Documentation
lookupTokenizer :: [Text] -> Maybe Syntax Source #
Looks up the tokenizer from Skylighting preset library by the short name of the language. Picks the first match.
Attempt to tokenize input,
returns Nothing if unsuccessful,
so the processor can just pass input
further when tokenizer fails.