euporie.core.kernel.local.highlight

euporie.core.kernel.local.highlight(code, lexer, formatter, outfile=None)

This is the most high-level highlighting function. It combines lex and format in one function.