euporie.core.convert.formats.html.highlight

euporie.core.convert.formats.html.highlight(code, lexer, formatter, outfile=None)

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